Documentation Archive Developer
Search

AVFoundation Changes for Swift

AVFoundation

Modified AVAsset
Protocols
FromAVAsynchronousKeyValueLoading, AnyObject, NSCopying
ToAVAsynchronousKeyValueLoading, NSCopying

DeclarationProtocols
From
protocol AVAssetDownloadDelegate : NSURLSessionTaskDelegate, NSURLSessionDelegate, NSObjectProtocol {
    optional func URLSession(_ session: NSURLSession, assetDownloadTask assetDownloadTask: AVAssetDownloadTask, didLoadTimeRange timeRange: CMTimeRange, totalTimeRangesLoaded loadedTimeRanges: [NSValue], timeRangeExpectedToLoad timeRangeExpectedToLoad: CMTimeRange)
    optional func URLSession(_ session: NSURLSession, assetDownloadTask assetDownloadTask: AVAssetDownloadTask, didResolveMediaSelection resolvedMediaSelection: AVMediaSelection)
}
NSObjectProtocol, NSURLSessionDelegate, NSURLSessionTaskDelegate
To
protocol AVAssetDownloadDelegate : NSURLSessionTaskDelegate {
    optional func URLSession(_ session: NSURLSession, assetDownloadTask assetDownloadTask: AVAssetDownloadTask, didLoadTimeRange timeRange: CMTimeRange, totalTimeRangesLoaded loadedTimeRanges: [NSValue], timeRangeExpectedToLoad timeRangeExpectedToLoad: CMTimeRange)
    optional func URLSession(_ session: NSURLSession, assetDownloadTask assetDownloadTask: AVAssetDownloadTask, didResolveMediaSelection resolvedMediaSelection: AVMediaSelection)
}
NSURLSessionTaskDelegate

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromEquatable, Hashable, RawRepresentable
To--

Protocols
FromAnyObject
To--

Protocols
FromEquatable, Hashable, RawRepresentable
To--

Modified AVAssetReader
Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromEquatable, Hashable, RawRepresentable
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Modified AVAssetTrack
Protocols
FromAVAsynchronousKeyValueLoading, AnyObject, NSCopying
ToAVAsynchronousKeyValueLoading, NSCopying

Protocols
FromAnyObject, NSCopying
ToNSCopying

Protocols
FromAnyObject
To--

Modified AVAssetWriter
Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromEquatable, Hashable, RawRepresentable
To--

Protocols
FromAnyObject, NSCopying
ToNSCopying

Protocols
FromAnyObject, NSCopying
ToNSCopying

Protocols
FromEquatable, Hashable, RawRepresentable
To--

Modified AVAudioBuffer
Protocols
FromAnyObject, NSCopying, NSMutableCopying
ToNSCopying, NSMutableCopying

DeclarationProtocols
From
class AVAudioChannelLayout : NSObject, NSSecureCoding, NSCoding {
    convenience init(layoutTag layoutTag: AudioChannelLayoutTag)
    init(layout layout: UnsafePointer<AudioChannelLayout>)
    func isEqual(_ object: AnyObject) -> Bool
    class func layoutWithLayoutTag(_ layoutTag: AudioChannelLayoutTag) -> Self
    class func layoutWithLayout(_ layout: UnsafePointer<AudioChannelLayout>) -> Self
    var layoutTag: AudioChannelLayoutTag { get }
    var layout: UnsafePointer<AudioChannelLayout> { get }
    var channelCount: AVAudioChannelCount { get }
}
AnyObject, NSCoding, NSSecureCoding
To
class AVAudioChannelLayout : NSObject, NSSecureCoding {
    convenience init(layoutTag layoutTag: AudioChannelLayoutTag)
    init(layout layout: UnsafePointer<AudioChannelLayout>)
    func isEqual(_ object: AnyObject) -> Bool
    class func layoutWithLayoutTag(_ layoutTag: AudioChannelLayoutTag) -> Self
    class func layoutWithLayout(_ layout: UnsafePointer<AudioChannelLayout>) -> Self
    var layoutTag: AudioChannelLayoutTag { get }
    var layout: UnsafePointer<AudioChannelLayout> { get }
    var channelCount: AVAudioChannelCount { get }
}
NSSecureCoding

Protocols
FromEquatable, Hashable, RawRepresentable
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromEquatable, Hashable, RawRepresentable
To--

Protocols
FromEquatable, Hashable, RawRepresentable
To--

Protocols
FromEquatable, Hashable, RawRepresentable
To--

Modified AVAudioEngine
Protocols
FromAnyObject
To--

Protocols
FromEquatable, Hashable, RawRepresentable
To--

Protocols
FromAnyObject
To--

DeclarationProtocols
From
class AVAudioEnvironmentNode : AVAudioNode, AVAudioMixing, AVAudioStereoMixing, AVAudio3DMixing {
    var outputVolume: Float
    var nextAvailableInputBus: AVAudioNodeBus { get }
    var listenerPosition: AVAudio3DPoint
    var listenerVectorOrientation: AVAudio3DVectorOrientation
    var listenerAngularOrientation: AVAudio3DAngularOrientation
    var distanceAttenuationParameters: AVAudioEnvironmentDistanceAttenuationParameters { get }
    var reverbParameters: AVAudioEnvironmentReverbParameters { get }
    var applicableRenderingAlgorithms: [NSNumber] { get }
}
AVAudio3DMixing, AVAudioMixing, AVAudioStereoMixing, AnyObject, NSObjectProtocol
To
class AVAudioEnvironmentNode : AVAudioNode, AVAudioMixing {
    var outputVolume: Float
    var nextAvailableInputBus: AVAudioNodeBus { get }
    var listenerPosition: AVAudio3DPoint
    var listenerVectorOrientation: AVAudio3DVectorOrientation
    var listenerAngularOrientation: AVAudio3DAngularOrientation
    var distanceAttenuationParameters: AVAudioEnvironmentDistanceAttenuationParameters { get }
    var reverbParameters: AVAudioEnvironmentReverbParameters { get }
    var applicableRenderingAlgorithms: [NSNumber] { get }
}
AVAudioMixing

Protocols
FromAnyObject
To--

Modified AVAudioFile
Protocols
FromAnyObject
To--

Modified AVAudioFormat
DeclarationProtocols
From
class AVAudioFormat : NSObject, NSSecureCoding, NSCoding {
    init(streamDescription asbd: UnsafePointer<AudioStreamBasicDescription>)
    init(streamDescription asbd: UnsafePointer<AudioStreamBasicDescription>, channelLayout layout: AVAudioChannelLayout?)
    init(standardFormatWithSampleRate sampleRate: Double, channels channels: AVAudioChannelCount)
    init(standardFormatWithSampleRate sampleRate: Double, channelLayout layout: AVAudioChannelLayout)
    init(commonFormat format: AVAudioCommonFormat, sampleRate sampleRate: Double, channels channels: AVAudioChannelCount, interleaved interleaved: Bool)
    init(commonFormat format: AVAudioCommonFormat, sampleRate sampleRate: Double, interleaved interleaved: Bool, channelLayout layout: AVAudioChannelLayout)
    init(settings settings: [String : AnyObject])
    init(CMAudioFormatDescription formatDescription: CMAudioFormatDescription)
    func isEqual(_ object: AnyObject) -> Bool
    var standard: Bool { get }
    var commonFormat: AVAudioCommonFormat { get }
    var channelCount: AVAudioChannelCount { get }
    var sampleRate: Double { get }
    var interleaved: Bool { get }
    var streamDescription: UnsafePointer<AudioStreamBasicDescription> { get }
    var channelLayout: AVAudioChannelLayout? { get }
    var settings: [String : AnyObject] { get }
    var formatDescription: CMAudioFormatDescription { get }
}
AnyObject, NSCoding, NSSecureCoding
To
class AVAudioFormat : NSObject, NSSecureCoding {
    init(streamDescription asbd: UnsafePointer<AudioStreamBasicDescription>)
    init(streamDescription asbd: UnsafePointer<AudioStreamBasicDescription>, channelLayout layout: AVAudioChannelLayout?)
    init(standardFormatWithSampleRate sampleRate: Double, channels channels: AVAudioChannelCount)
    init(standardFormatWithSampleRate sampleRate: Double, channelLayout layout: AVAudioChannelLayout)
    init(commonFormat format: AVAudioCommonFormat, sampleRate sampleRate: Double, channels channels: AVAudioChannelCount, interleaved interleaved: Bool)
    init(commonFormat format: AVAudioCommonFormat, sampleRate sampleRate: Double, interleaved interleaved: Bool, channelLayout layout: AVAudioChannelLayout)
    init(settings settings: [String : AnyObject])
    init(CMAudioFormatDescription formatDescription: CMAudioFormatDescription)
    func isEqual(_ object: AnyObject) -> Bool
    var standard: Bool { get }
    var commonFormat: AVAudioCommonFormat { get }
    var channelCount: AVAudioChannelCount { get }
    var sampleRate: Double { get }
    var interleaved: Bool { get }
    var streamDescription: UnsafePointer<AudioStreamBasicDescription> { get }
    var channelLayout: AVAudioChannelLayout? { get }
    var settings: [String : AnyObject] { get }
    var formatDescription: CMAudioFormatDescription { get }
}
NSSecureCoding

DeclarationProtocols
From
class AVAudioInputNode : AVAudioIONode, AVAudioMixing, AVAudioStereoMixing, AVAudio3DMixing {
}
AVAudio3DMixing, AVAudioMixing, AVAudioStereoMixing, AnyObject, NSObjectProtocol
To
class AVAudioInputNode : AVAudioIONode, AVAudioMixing {
}
AVAudioMixing

Modified AVAudioIONode
Protocols
FromAnyObject
To--

Modified AVAudioMix
Protocols
FromAnyObject, NSCopying, NSMutableCopying
ToNSCopying, NSMutableCopying

DeclarationProtocols
From
class AVAudioMixerNode : AVAudioNode, AVAudioMixing, AVAudioStereoMixing, AVAudio3DMixing {
    var outputVolume: Float
    var nextAvailableInputBus: AVAudioNodeBus { get }
}
AVAudio3DMixing, AVAudioMixing, AVAudioStereoMixing, AnyObject, NSObjectProtocol
To
class AVAudioMixerNode : AVAudioNode, AVAudioMixing {
    var outputVolume: Float
    var nextAvailableInputBus: AVAudioNodeBus { get }
}
AVAudioMixing

Modified AVAudioMixing
DeclarationProtocols
From
protocol AVAudioMixing : AVAudioStereoMixing, NSObjectProtocol, AVAudio3DMixing {
    func destinationForMixer(_ mixer: AVAudioNode, bus bus: AVAudioNodeBus) -> AVAudioMixingDestination?
    var volume: Float { get set }
}
AVAudio3DMixing, AVAudioStereoMixing, NSObjectProtocol
To
protocol AVAudioMixing : AVAudioStereoMixing, AVAudio3DMixing {
    func destinationForMixer(_ mixer: AVAudioNode, bus bus: AVAudioNodeBus) -> AVAudioMixingDestination?
    var volume: Float { get set }
}
AVAudio3DMixing, AVAudioStereoMixing

DeclarationProtocols
From
class AVAudioMixingDestination : NSObject, AVAudioMixing, AVAudioStereoMixing, AVAudio3DMixing {
    var connectionPoint: AVAudioConnectionPoint { get }
}
AVAudio3DMixing, AVAudioMixing, AVAudioStereoMixing, AnyObject, NSObjectProtocol
To
class AVAudioMixingDestination : NSObject, AVAudioMixing {
    var connectionPoint: AVAudioConnectionPoint { get }
}
AVAudioMixing

Protocols
FromAnyObject, NSCopying, NSMutableCopying
ToNSCopying, NSMutableCopying

Modified AVAudioNode
Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Modified AVAudioPlayer
Protocols
FromAnyObject
To--

DeclarationProtocols
From
class AVAudioPlayerNode : AVAudioNode, AVAudioMixing, AVAudioStereoMixing, AVAudio3DMixing {
    func scheduleBuffer(_ buffer: AVAudioPCMBuffer, completionHandler completionHandler: AVAudioNodeCompletionHandler?)
    func scheduleBuffer(_ buffer: AVAudioPCMBuffer, atTime when: AVAudioTime?, options options: AVAudioPlayerNodeBufferOptions, completionHandler completionHandler: AVAudioNodeCompletionHandler?)
    func scheduleFile(_ file: AVAudioFile, atTime when: AVAudioTime?, completionHandler completionHandler: AVAudioNodeCompletionHandler?)
    func scheduleSegment(_ file: AVAudioFile, startingFrame startFrame: AVAudioFramePosition, frameCount numberFrames: AVAudioFrameCount, atTime when: AVAudioTime?, completionHandler completionHandler: AVAudioNodeCompletionHandler?)
    func stop()
    func prepareWithFrameCount(_ frameCount: AVAudioFrameCount)
    func play()
    func playAtTime(_ when: AVAudioTime?)
    func pause()
    func nodeTimeForPlayerTime(_ playerTime: AVAudioTime) -> AVAudioTime?
    func playerTimeForNodeTime(_ nodeTime: AVAudioTime) -> AVAudioTime?
    var playing: Bool { get }
}
AVAudio3DMixing, AVAudioMixing, AVAudioStereoMixing, AnyObject, NSObjectProtocol
To
class AVAudioPlayerNode : AVAudioNode, AVAudioMixing {
    func scheduleBuffer(_ buffer: AVAudioPCMBuffer, completionHandler completionHandler: AVAudioNodeCompletionHandler?)
    func scheduleBuffer(_ buffer: AVAudioPCMBuffer, atTime when: AVAudioTime?, options options: AVAudioPlayerNodeBufferOptions, completionHandler completionHandler: AVAudioNodeCompletionHandler?)
    func scheduleFile(_ file: AVAudioFile, atTime when: AVAudioTime?, completionHandler completionHandler: AVAudioNodeCompletionHandler?)
    func scheduleSegment(_ file: AVAudioFile, startingFrame startFrame: AVAudioFramePosition, frameCount numberFrames: AVAudioFrameCount, atTime when: AVAudioTime?, completionHandler completionHandler: AVAudioNodeCompletionHandler?)
    func stop()
    func prepareWithFrameCount(_ frameCount: AVAudioFrameCount)
    func play()
    func playAtTime(_ when: AVAudioTime?)
    func pause()
    func nodeTimeForPlayerTime(_ playerTime: AVAudioTime) -> AVAudioTime?
    func playerTimeForNodeTime(_ nodeTime: AVAudioTime) -> AVAudioTime?
    var playing: Bool { get }
}
AVAudioMixing

Protocols
FromEquatable, Hashable, RawRepresentable
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromEquatable, Hashable, RawRepresentable
To--

Protocols
FromEquatable, Hashable, RawRepresentable
To--

Protocols
FromAnyObject
To--

Protocols
FromEquatable, Hashable, RawRepresentable
To--

Protocols
FromEquatable, Hashable, RawRepresentable
To--

Protocols
FromAnyObject
To--

Protocols
FromEquatable, Hashable, RawRepresentable
To--

Modified AVAudioTime
Protocols
FromAnyObject
To--

Modified AVAudioUnit
Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromEquatable, Hashable, RawRepresentable
To--

Protocols
FromAnyObject
To--

Modified AVAudioUnitEQ
Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromEquatable, Hashable, RawRepresentable
To--

DeclarationProtocols
From
class AVAudioUnitGenerator : AVAudioUnit, AVAudioMixing, AVAudioStereoMixing, AVAudio3DMixing {
    init(audioComponentDescription audioComponentDescription: AudioComponentDescription)
    var bypass: Bool
}
AVAudio3DMixing, AVAudioMixing, AVAudioStereoMixing, AnyObject, NSObjectProtocol
To
class AVAudioUnitGenerator : AVAudioUnit, AVAudioMixing {
    init(audioComponentDescription audioComponentDescription: AudioComponentDescription)
    var bypass: Bool
}
AVAudioMixing

DeclarationProtocols
From
class AVAudioUnitMIDIInstrument : AVAudioUnit, AVAudioMixing, AVAudioStereoMixing, AVAudio3DMixing {
    init(audioComponentDescription description: AudioComponentDescription)
    func startNote(_ note: UInt8, withVelocity velocity: UInt8, onChannel channel: UInt8)
    func stopNote(_ note: UInt8, onChannel channel: UInt8)
    func sendController(_ controller: UInt8, withValue value: UInt8, onChannel channel: UInt8)
    func sendPitchBend(_ pitchbend: UInt16, onChannel channel: UInt8)
    func sendPressure(_ pressure: UInt8, onChannel channel: UInt8)
    func sendPressureForKey(_ key: UInt8, withValue value: UInt8, onChannel channel: UInt8)
    func sendProgramChange(_ program: UInt8, onChannel channel: UInt8)
    func sendProgramChange(_ program: UInt8, bankMSB bankMSB: UInt8, bankLSB bankLSB: UInt8, onChannel channel: UInt8)
    func sendMIDIEvent(_ midiStatus: UInt8, data1 data1: UInt8, data2 data2: UInt8)
    func sendMIDIEvent(_ midiStatus: UInt8, data1 data1: UInt8)
    func sendMIDISysExEvent(_ midiData: NSData)
}
AVAudio3DMixing, AVAudioMixing, AVAudioStereoMixing, AnyObject, NSObjectProtocol
To
class AVAudioUnitMIDIInstrument : AVAudioUnit, AVAudioMixing {
    init(audioComponentDescription description: AudioComponentDescription)
    func startNote(_ note: UInt8, withVelocity velocity: UInt8, onChannel channel: UInt8)
    func stopNote(_ note: UInt8, onChannel channel: UInt8)
    func sendController(_ controller: UInt8, withValue value: UInt8, onChannel channel: UInt8)
    func sendPitchBend(_ pitchbend: UInt16, onChannel channel: UInt8)
    func sendPressure(_ pressure: UInt8, onChannel channel: UInt8)
    func sendPressureForKey(_ key: UInt8, withValue value: UInt8, onChannel channel: UInt8)
    func sendProgramChange(_ program: UInt8, onChannel channel: UInt8)
    func sendProgramChange(_ program: UInt8, bankMSB bankMSB: UInt8, bankLSB bankLSB: UInt8, onChannel channel: UInt8)
    func sendMIDIEvent(_ midiStatus: UInt8, data1 data1: UInt8, data2 data2: UInt8)
    func sendMIDIEvent(_ midiStatus: UInt8, data1 data1: UInt8)
    func sendMIDISysExEvent(_ midiData: NSData)
}
AVAudioMixing

Protocols
FromAnyObject
To--

Protocols
FromEquatable, Hashable, RawRepresentable
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromEquatable, Hashable, RawRepresentable
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromEquatable, Hashable, RawRepresentable
To--

Protocols
FromEquatable, Hashable, RawRepresentable
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromEquatable, Hashable, RawRepresentable
To--

Protocols
FromEquatable, Hashable, RawRepresentable
To--

Protocols
FromAnyObject
To--

Protocols
FromEquatable, Hashable, RawRepresentable
To--

Protocols
FromEquatable, Hashable, RawRepresentable
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromEquatable, Hashable, RawRepresentable
To--

Protocols
FromAnyObject
To--

Protocols
FromEquatable, Hashable, RawRepresentable
To--

Protocols
FromAnyObject
To--

Protocols
FromEquatable, Hashable, RawRepresentable
To--

Protocols
FromAnyObject
To--

Protocols
FromEquatable, Hashable, RawRepresentable
To--

Protocols
FromEquatable, Hashable, RawRepresentable
To--

Modified AVComposition
Protocols
FromAnyObject, NSMutableCopying
ToNSMutableCopying

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject, NSCopying, NSMutableCopying
ToNSCopying, NSMutableCopying

DeclarationProtocols
From
enum AVError : Int {
    case Unknown
    case OutOfMemory
    case SessionNotRunning
    case DeviceAlreadyUsedByAnotherSession
    case NoDataCaptured
    case SessionConfigurationChanged
    case DiskFull
    case DeviceWasDisconnected
    case MediaChanged
    case MaximumDurationReached
    case MaximumFileSizeReached
    case MediaDiscontinuity
    case MaximumNumberOfSamplesForFileFormatReached
    case DeviceNotConnected
    case DeviceInUseByAnotherApplication
    case DeviceLockedForConfigurationByAnotherProcess
    case SessionWasInterrupted
    case MediaServicesWereReset
    case ExportFailed
    case DecodeFailed
    case InvalidSourceMedia
    case FileAlreadyExists
    case CompositionTrackSegmentsNotContiguous
    case InvalidCompositionTrackSegmentDuration
    case InvalidCompositionTrackSegmentSourceStartTime
    case InvalidCompositionTrackSegmentSourceDuration
    case FileFormatNotRecognized
    case FileFailedToParse
    case MaximumStillImageCaptureRequestsExceeded
    case ContentIsProtected
    case NoImageAtTime
    case DecoderNotFound
    case EncoderNotFound
    case ContentIsNotAuthorized
    case ApplicationIsNotAuthorized
    case DeviceIsNotAvailableInBackground
    case OperationNotSupportedForAsset
    case DecoderTemporarilyUnavailable
    case EncoderTemporarilyUnavailable
    case InvalidVideoComposition
    case ReferenceForbiddenByReferencePolicy
    case InvalidOutputURLPathExtension
    case ScreenCaptureFailed
    case DisplayWasDisabled
    case TorchLevelUnavailable
    case OperationInterrupted
    case IncompatibleAsset
    case FailedToLoadMediaData
    case ServerIncorrectlyConfigured
    case ApplicationIsNotAuthorizedToUseDevice
    case FailedToParse
    case FileTypeDoesNotSupportSampleReferences
    case UndecodableMediaData
    case AirPlayControllerRequiresInternet
    case AirPlayReceiverRequiresInternet
    case VideoCompositorFailed
    case RecordingAlreadyInProgress
}
extension AVError : Hashable, Equatable, __BridgedNSError, ErrorType, RawRepresentable, _ObjectiveCBridgeableErrorType, _BridgedNSError {
}
extension AVError : Hashable, Equatable, __BridgedNSError, ErrorType, RawRepresentable, _ObjectiveCBridgeableErrorType, _BridgedNSError {
}
Equatable, ErrorType, Hashable, RawRepresentable
To
enum AVError : Int {
    case Unknown
    case OutOfMemory
    case SessionNotRunning
    case DeviceAlreadyUsedByAnotherSession
    case NoDataCaptured
    case SessionConfigurationChanged
    case DiskFull
    case DeviceWasDisconnected
    case MediaChanged
    case MaximumDurationReached
    case MaximumFileSizeReached
    case MediaDiscontinuity
    case MaximumNumberOfSamplesForFileFormatReached
    case DeviceNotConnected
    case DeviceInUseByAnotherApplication
    case DeviceLockedForConfigurationByAnotherProcess
    case SessionWasInterrupted
    case MediaServicesWereReset
    case ExportFailed
    case DecodeFailed
    case InvalidSourceMedia
    case FileAlreadyExists
    case CompositionTrackSegmentsNotContiguous
    case InvalidCompositionTrackSegmentDuration
    case InvalidCompositionTrackSegmentSourceStartTime
    case InvalidCompositionTrackSegmentSourceDuration
    case FileFormatNotRecognized
    case FileFailedToParse
    case MaximumStillImageCaptureRequestsExceeded
    case ContentIsProtected
    case NoImageAtTime
    case DecoderNotFound
    case EncoderNotFound
    case ContentIsNotAuthorized
    case ApplicationIsNotAuthorized
    case DeviceIsNotAvailableInBackground
    case OperationNotSupportedForAsset
    case DecoderTemporarilyUnavailable
    case EncoderTemporarilyUnavailable
    case InvalidVideoComposition
    case ReferenceForbiddenByReferencePolicy
    case InvalidOutputURLPathExtension
    case ScreenCaptureFailed
    case DisplayWasDisabled
    case TorchLevelUnavailable
    case OperationInterrupted
    case IncompatibleAsset
    case FailedToLoadMediaData
    case ServerIncorrectlyConfigured
    case ApplicationIsNotAuthorizedToUseDevice
    case FailedToParse
    case FileTypeDoesNotSupportSampleReferences
    case UndecodableMediaData
    case AirPlayControllerRequiresInternet
    case AirPlayReceiverRequiresInternet
    case VideoCompositorFailed
    case RecordingAlreadyInProgress
}
extension AVError : _BridgedNSError {
}
extension AVError : _BridgedNSError {
}
--

Protocols
FromAnyObject
To--

Protocols
FromEquatable, Hashable, RawRepresentable
To--

Protocols
FromAnyObject, NSCopying, NSMutableCopying
ToNSCopying, NSMutableCopying

Protocols
FromAnyObject, NSCopying
ToNSCopying

Protocols
FromAnyObject, NSCopying
ToNSCopying

Protocols
FromAnyObject, NSCopying
ToNSCopying

Protocols
FromAnyObject
To--

Protocols
FromAVAsynchronousKeyValueLoading, AnyObject, NSCopying, NSMutableCopying
ToAVAsynchronousKeyValueLoading, NSCopying, NSMutableCopying

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Modified AVMIDIPlayer
Protocols
FromAnyObject
To--

Modified AVMusicTrack
Protocols
FromAnyObject
To--

Protocols
FromEquatable, Hashable, RawRepresentable
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Modified AVPlayer
Protocols
FromAnyObject
To--

Protocols
FromEquatable, Hashable, RawRepresentable
To--

Modified AVPlayerItem
Protocols
FromAnyObject, NSCopying
ToNSCopying

Protocols
FromAnyObject, NSCopying
ToNSCopying

Protocols
FromAnyObject, NSCopying
ToNSCopying

Protocols
FromAnyObject, NSCopying
ToNSCopying

Protocols
FromAnyObject, NSCopying
ToNSCopying

Protocols
FromAnyObject
To--

DeclarationProtocols
From
protocol AVPlayerItemLegibleOutputPushDelegate : AVPlayerItemOutputPushDelegate, NSObjectProtocol {
    optional func legibleOutput(_ output: AVPlayerItemLegibleOutput, didOutputAttributedStrings strings: [NSAttributedString], nativeSampleBuffers nativeSamples: [AnyObject], forItemTime itemTime: CMTime)
}
AVPlayerItemOutputPushDelegate, NSObjectProtocol
To
protocol AVPlayerItemLegibleOutputPushDelegate : AVPlayerItemOutputPushDelegate {
    optional func legibleOutput(_ output: AVPlayerItemLegibleOutput, didOutputAttributedStrings strings: [NSAttributedString], nativeSampleBuffers nativeSamples: [AnyObject], forItemTime itemTime: CMTime)
}
AVPlayerItemOutputPushDelegate

Protocols
FromAnyObject
To--

DeclarationProtocols
From
protocol AVPlayerItemMetadataOutputPushDelegate : AVPlayerItemOutputPushDelegate, NSObjectProtocol {
    optional func metadataOutput(_ output: AVPlayerItemMetadataOutput, didOutputTimedMetadataGroups groups: [AVTimedMetadataGroup], fromPlayerItemTrack track: AVPlayerItemTrack)
}
AVPlayerItemOutputPushDelegate, NSObjectProtocol
To
protocol AVPlayerItemMetadataOutputPushDelegate : AVPlayerItemOutputPushDelegate {
    optional func metadataOutput(_ output: AVPlayerItemMetadataOutput, didOutputTimedMetadataGroups groups: [AVTimedMetadataGroup], fromPlayerItemTrack track: AVPlayerItemTrack)
}
AVPlayerItemOutputPushDelegate

Protocols
FromAnyObject
To--

Protocols
FromEquatable, Hashable, RawRepresentable
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Modified AVPlayerLayer
Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromEquatable, Hashable, RawRepresentable
To--

Protocols
FromEquatable, Hashable, RawRepresentable
To--

Modified AVQueuePlayer
Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromEquatable, Hashable, RawRepresentable
To--

DeclarationProtocols
From
class AVSpeechSynthesisVoice : NSObject, NSSecureCoding, NSCoding {
    class func speechVoices() -> [AVSpeechSynthesisVoice]
    class func currentLanguageCode() -> String
     init?(language languageCode: String?)
    class func voiceWithLanguage(_ languageCode: String?) -> AVSpeechSynthesisVoice?
     init?(identifier identifier: String)
    class func voiceWithIdentifier(_ identifier: String) -> AVSpeechSynthesisVoice?
    var language: String { get }
    var identifier: String { get }
    var name: String { get }
    var quality: AVSpeechSynthesisVoiceQuality { get }
}
AnyObject, NSCoding, NSSecureCoding
To
class AVSpeechSynthesisVoice : NSObject, NSSecureCoding {
    class func speechVoices() -> [AVSpeechSynthesisVoice]
    class func currentLanguageCode() -> String
     init?(language languageCode: String?)
    class func voiceWithLanguage(_ languageCode: String?) -> AVSpeechSynthesisVoice?
     init?(identifier identifier: String)
    class func voiceWithIdentifier(_ identifier: String) -> AVSpeechSynthesisVoice?
    var language: String { get }
    var identifier: String { get }
    var name: String { get }
    var quality: AVSpeechSynthesisVoiceQuality { get }
}
NSSecureCoding

Protocols
FromEquatable, Hashable, RawRepresentable
To--

Protocols
FromAnyObject
To--

DeclarationProtocols
From
class AVSpeechUtterance : NSObject, NSCopying, NSSecureCoding, NSCoding {
    convenience init(string string: String)
    class func speechUtteranceWithString(_ string: String) -> Self
    init(string string: String)
    var voice: AVSpeechSynthesisVoice?
    var speechString: String { get }
    var rate: Float
    var pitchMultiplier: Float
    var volume: Float
    var preUtteranceDelay: NSTimeInterval
    var postUtteranceDelay: NSTimeInterval
}
AnyObject, NSCoding, NSCopying, NSSecureCoding
To
class AVSpeechUtterance : NSObject, NSCopying, NSSecureCoding {
    convenience init(string string: String)
    class func speechUtteranceWithString(_ string: String) -> Self
    init(string string: String)
    var voice: AVSpeechSynthesisVoice?
    var speechString: String { get }
    var rate: Float
    var pitchMultiplier: Float
    var volume: Float
    var preUtteranceDelay: NSTimeInterval
    var postUtteranceDelay: NSTimeInterval
}
NSCopying, NSSecureCoding

Protocols
FromAnyObject
To--

Protocols
FromAnyObject, NSCopying
ToNSCopying

Protocols
FromAnyObject, NSCopying, NSMutableCopying
ToNSCopying, NSMutableCopying

Modified AVURLAsset
Protocols
FromAnyObject
To--

Protocols
FromAnyObject, NSCopying, NSMutableCopying
ToNSCopying, NSMutableCopying

Protocols
FromAnyObject
To--

DeclarationProtocols
From
class AVVideoCompositionInstruction : NSObject, NSSecureCoding, NSCoding, NSCopying, NSMutableCopying, AVVideoCompositionInstructionProtocol {
    var timeRange: CMTimeRange { get }
    var backgroundColor: CGColor? { get }
    var layerInstructions: [AVVideoCompositionLayerInstruction] { get }
    var enablePostProcessing: Bool { get }
    var requiredSourceTrackIDs: [NSValue] { get }
    var passthroughTrackID: CMPersistentTrackID { get }
}
AVVideoCompositionInstructionProtocol, AnyObject, NSCoding, NSCopying, NSMutableCopying, NSObjectProtocol, NSSecureCoding
To
class AVVideoCompositionInstruction : NSObject, NSSecureCoding, NSCopying, NSMutableCopying, AVVideoCompositionInstructionProtocol {
    var timeRange: CMTimeRange { get }
    var backgroundColor: CGColor? { get }
    var layerInstructions: [AVVideoCompositionLayerInstruction] { get }
    var enablePostProcessing: Bool { get }
    var requiredSourceTrackIDs: [NSValue] { get }
    var passthroughTrackID: CMPersistentTrackID { get }
}
AVVideoCompositionInstructionProtocol, NSCopying, NSMutableCopying, NSSecureCoding

DeclarationProtocols
From
class AVVideoCompositionLayerInstruction : NSObject, NSSecureCoding, NSCoding, NSCopying, NSMutableCopying {
    var trackID: CMPersistentTrackID { get }
    func getTransformRampForTime(_ time: CMTime, startTransform startTransform: UnsafeMutablePointer<CGAffineTransform>, endTransform endTransform: UnsafeMutablePointer<CGAffineTransform>, timeRange timeRange: UnsafeMutablePointer<CMTimeRange>) -> Bool
    func getOpacityRampForTime(_ time: CMTime, startOpacity startOpacity: UnsafeMutablePointer<Float>, endOpacity endOpacity: UnsafeMutablePointer<Float>, timeRange timeRange: UnsafeMutablePointer<CMTimeRange>) -> Bool
    func getCropRectangleRampForTime(_ time: CMTime, startCropRectangle startCropRectangle: UnsafeMutablePointer<CGRect>, endCropRectangle endCropRectangle: UnsafeMutablePointer<CGRect>, timeRange timeRange: UnsafeMutablePointer<CMTimeRange>) -> Bool
}
AnyObject, NSCoding, NSCopying, NSMutableCopying, NSSecureCoding
To
class AVVideoCompositionLayerInstruction : NSObject, NSSecureCoding, NSCopying, NSMutableCopying {
    var trackID: CMPersistentTrackID { get }
    func getTransformRampForTime(_ time: CMTime, startTransform startTransform: UnsafeMutablePointer<CGAffineTransform>, endTransform endTransform: UnsafeMutablePointer<CGAffineTransform>, timeRange timeRange: UnsafeMutablePointer<CMTimeRange>) -> Bool
    func getOpacityRampForTime(_ time: CMTime, startOpacity startOpacity: UnsafeMutablePointer<Float>, endOpacity endOpacity: UnsafeMutablePointer<Float>, timeRange timeRange: UnsafeMutablePointer<CMTimeRange>) -> Bool
    func getCropRectangleRampForTime(_ time: CMTime, startCropRectangle startCropRectangle: UnsafeMutablePointer<CGRect>, endCropRectangle endCropRectangle: UnsafeMutablePointer<CGRect>, timeRange timeRange: UnsafeMutablePointer<CMTimeRange>) -> Bool
}
NSCopying, NSMutableCopying, NSSecureCoding

Protocols
FromAnyObject
To--