Documentation Archive Developer
Search

AVFoundation Changes for Objective-C

AVFoundation

AVAsset.h

Declaration
From
+ (id)assetWithURL:(NSURL *)URL
To
+ (instancetype _Nonnull)assetWithURL:(NSURL * _Nonnull)URL

Declaration
From
@property(readonly) NSArray *availableChapterLocales
To
@property(readonly, nonnull) NSArray<NSLocale *> *availableChapterLocales

Declaration
From
@property(nonatomic, readonly) NSArray *availableMediaCharacteristicsWithMediaSelectionOptions
To
@property(nonatomic, readonly, nonnull) NSArray<NSString *> *availableMediaCharacteristicsWithMediaSelectionOptions

Declaration
From
@property(nonatomic, readonly) NSArray *availableMetadataFormats
To
@property(nonatomic, readonly, nonnull) NSArray<NSString *> *availableMetadataFormats

Declaration
From
- (NSArray *)chapterMetadataGroupsBestMatchingPreferredLanguages:(NSArray *)preferredLanguages
To
- (NSArray<AVTimedMetadataGroup *> * _Nonnull)chapterMetadataGroupsBestMatchingPreferredLanguages:(NSArray<NSString *> * _Nonnull)preferredLanguages

Declaration
From
- (NSArray *)chapterMetadataGroupsWithTitleLocale:(NSLocale *)locale containingItemsWithCommonKeys:(NSArray *)commonKeys
To
- (NSArray<AVTimedMetadataGroup *> * _Nonnull)chapterMetadataGroupsWithTitleLocale:(NSLocale * _Nonnull)locale containingItemsWithCommonKeys:(NSArray<NSString *> * _Nullable)commonKeys

Declaration
From
@property(nonatomic, readonly) NSArray *commonMetadata
To
@property(nonatomic, readonly, nonnull) NSArray<AVMetadataItem *> *commonMetadata

Declaration
From
@property(nonatomic, readonly) NSArray *metadata
To
@property(nonatomic, readonly, nonnull) NSArray<AVMetadataItem *> *metadata

Declaration
From
- (NSArray *)metadataForFormat:(NSString *)format
To
- (NSArray<AVMetadataItem *> * _Nonnull)metadataForFormat:(NSString * _Nonnull)format

Declaration
From
@property(nonatomic, readonly) NSArray *trackGroups
To
@property(nonatomic, readonly, nonnull) NSArray<AVAssetTrackGroup *> *trackGroups

Declaration
From
@property(nonatomic, readonly) NSArray *tracks
To
@property(nonatomic, readonly, nonnull) NSArray<AVAssetTrack *> *tracks

Declaration
From
- (NSArray *)tracksWithMediaCharacteristic:(NSString *)mediaCharacteristic
To
- (NSArray<AVAssetTrack *> * _Nonnull)tracksWithMediaCharacteristic:(NSString * _Nonnull)mediaCharacteristic

Declaration
From
- (NSArray *)tracksWithMediaType:(NSString *)mediaType
To
- (NSArray<AVAssetTrack *> * _Nonnull)tracksWithMediaType:(NSString * _Nonnull)mediaType

Declaration
From
+ (NSArray *)audiovisualMIMETypes
To
+ (NSArray<NSString *> * _Nonnull)audiovisualMIMETypes

Declaration
From
+ (NSArray *)audiovisualTypes
To
+ (NSArray<NSString *> * _Nonnull)audiovisualTypes

DeclarationDesignated Initializer
From
- (instancetype)initWithURL:(NSURL *)URL options:(NSDictionary *)options
--
To
- (instancetype _Nonnull)initWithURL:(NSURL * _Nonnull)URL options:(NSDictionary<NSString *,id> * _Nullable)options
yes

Declaration
From
+ (AVURLAsset *)URLAssetWithURL:(NSURL *)URL options:(NSDictionary *)options
To
+ (instancetype _Nonnull)URLAssetWithURL:(NSURL * _Nonnull)URL options:(NSDictionary<NSString *,id> * _Nullable)options

AVAssetDownloadTask.h (Added)

AVAssetExportSession.h

Added AVAssetExportSession(AVAssetExportSessionDurationAndLength)
Added AVAssetExportSession(AVAssetExportSessionFileTypes)
Added AVAssetExportSession(AVAssetExportSessionMediaProcessing)
Added AVAssetExportSession(AVAssetExportSessionMetadata)
Added AVAssetExportSession(AVAssetExportSessionMultipass)
Added AVAssetExportSession(AVAssetExportSessionPresets)
Declaration
From
+ (NSArray *)allExportPresets
To
+ (NSArray<NSString *> * _Nonnull)allExportPresets

Declaration
From
- (void)determineCompatibleFileTypesWithCompletionHandler:(void (^)(NSArray *compatibleFileTypes))handler
To
- (void)determineCompatibleFileTypesWithCompletionHandler:(void (^ _Nonnull)(NSArray<NSString *> * _Nonnull compatibleFileTypes))handler

Declaration
From
+ (NSArray *)exportPresetsCompatibleWithAsset:(AVAsset *)asset
To
+ (NSArray<NSString *> * _Nonnull)exportPresetsCompatibleWithAsset:(AVAsset * _Nonnull)asset

Declaration
From
+ (AVAssetExportSession *)exportSessionWithAsset:(AVAsset *)asset presetName:(NSString *)presetName
To
+ (instancetype _Nullable)exportSessionWithAsset:(AVAsset * _Nonnull)asset presetName:(NSString * _Nonnull)presetName

Designated Initializer
From--
Toyes

Declaration
From
@property(nonatomic, copy) NSArray *metadata
To
@property(nonatomic, copy, nullable) NSArray<AVMetadataItem *> *metadata

Declaration
From
@property(nonatomic, readonly) NSArray *supportedFileTypes
To
@property(nonatomic, readonly, nonnull) NSArray<NSString *> *supportedFileTypes

AVAssetImageGenerator.h

Declaration
From
+ (AVAssetImageGenerator *)assetImageGeneratorWithAsset:(AVAsset *)asset
To
+ (instancetype _Nonnull)assetImageGeneratorWithAsset:(AVAsset * _Nonnull)asset

Declaration
From
- (void)generateCGImagesAsynchronouslyForTimes:(NSArray *)requestedTimes completionHandler:(AVAssetImageGeneratorCompletionHandler)handler
To
- (void)generateCGImagesAsynchronouslyForTimes:(NSArray<NSValue *> * _Nonnull)requestedTimes completionHandler:(AVAssetImageGeneratorCompletionHandler _Nonnull)handler

Designated Initializer
From--
Toyes

AVAssetReader.h

Designated Initializer
From--
Toyes

Declaration
From
@property(nonatomic, readonly) NSArray *outputs
To
@property(nonatomic, readonly, nonnull) NSArray<AVAssetReaderOutput *> *outputs

AVAssetReaderOutput.h

Declaration
From
+ (instancetype)assetReaderAudioMixOutputWithAudioTracks:(NSArray *)audioTracks audioSettings:(NSDictionary *)audioSettings
To
+ (instancetype _Nonnull)assetReaderAudioMixOutputWithAudioTracks:(NSArray<AVAssetTrack *> * _Nonnull)audioTracks audioSettings:(NSDictionary<NSString *,id> * _Nullable)audioSettings

Declaration
From
@property(nonatomic, readonly) NSDictionary *audioSettings
To
@property(nonatomic, readonly, nullable) NSDictionary<NSString *,id> *audioSettings

Declaration
From
@property(nonatomic, readonly) NSArray *audioTracks
To
@property(nonatomic, readonly, nonnull) NSArray<AVAssetTrack *> *audioTracks

DeclarationDesignated Initializer
From
- (instancetype)initWithAudioTracks:(NSArray *)audioTracks audioSettings:(NSDictionary *)audioSettings
--
To
- (instancetype _Nonnull)initWithAudioTracks:(NSArray<AVAssetTrack *> * _Nonnull)audioTracks audioSettings:(NSDictionary<NSString *,id> * _Nullable)audioSettings
yes

Declaration
From
- (void)resetForReadingTimeRanges:(NSArray *)timeRanges
To
- (void)resetForReadingTimeRanges:(NSArray<NSValue *> * _Nonnull)timeRanges

Designated Initializer
From--
Toyes

Declaration
From
+ (AVAssetReaderSampleReferenceOutput *)assetReaderSampleReferenceOutputWithTrack:(AVAssetTrack *)track
To
+ (instancetype _Nonnull)assetReaderSampleReferenceOutputWithTrack:(AVAssetTrack * _Nonnull)track

Designated Initializer
From--
Toyes

Declaration
From
+ (instancetype)assetReaderTrackOutputWithTrack:(AVAssetTrack *)track outputSettings:(NSDictionary *)outputSettings
To
+ (instancetype _Nonnull)assetReaderTrackOutputWithTrack:(AVAssetTrack * _Nonnull)track outputSettings:(NSDictionary<NSString *,id> * _Nullable)outputSettings

DeclarationDesignated Initializer
From
- (instancetype)initWithTrack:(AVAssetTrack *)track outputSettings:(NSDictionary *)outputSettings
--
To
- (instancetype _Nonnull)initWithTrack:(AVAssetTrack * _Nonnull)track outputSettings:(NSDictionary<NSString *,id> * _Nullable)outputSettings
yes

Declaration
From
@property(nonatomic, readonly) NSDictionary *outputSettings
To
@property(nonatomic, readonly, nullable) NSDictionary<NSString *,id> *outputSettings

Declaration
From
+ (instancetype)assetReaderVideoCompositionOutputWithVideoTracks:(NSArray *)videoTracks videoSettings:(NSDictionary *)videoSettings
To
+ (instancetype _Nonnull)assetReaderVideoCompositionOutputWithVideoTracks:(NSArray<AVAssetTrack *> * _Nonnull)videoTracks videoSettings:(NSDictionary<NSString *,id> * _Nullable)videoSettings

DeclarationDesignated Initializer
From
- (instancetype)initWithVideoTracks:(NSArray *)videoTracks videoSettings:(NSDictionary *)videoSettings
--
To
- (instancetype _Nonnull)initWithVideoTracks:(NSArray<AVAssetTrack *> * _Nonnull)videoTracks videoSettings:(NSDictionary<NSString *,id> * _Nullable)videoSettings
yes

Declaration
From
@property(nonatomic, readonly) NSDictionary *videoSettings
To
@property(nonatomic, readonly, nullable) NSDictionary<NSString *,id> *videoSettings

Declaration
From
@property(nonatomic, readonly) NSArray *videoTracks
To
@property(nonatomic, readonly, nonnull) NSArray<AVAssetTrack *> *videoTracks

AVAssetResourceLoader.h

Removed AVAssetResourceLoadingRequest(AVAssetResourceLoader_ContentKeyRequestSupport)
Added AVAssetResourceLoader(AVAssetResourceLoaderContentKeySupport)
Added AVAssetResourceLoadingRequest(AVAssetResourceLoadingRequestContentKeyRequestSupport)
Declaration
From
@property(nonatomic, readonly) id<AVAssetResourceLoaderDelegate> delegate
To
@property(nonatomic, readonly, weak, nullable) id<AVAssetResourceLoaderDelegate> delegate

Declaration
From
- (NSData *)streamingContentKeyRequestDataForApp:(NSData *)appIdentifier contentIdentifier:(NSData *)contentIdentifier options:(NSDictionary *)options error:(NSError **)outError
To
- (NSData * _Nullable)streamingContentKeyRequestDataForApp:(NSData * _Nonnull)appIdentifier contentIdentifier:(NSData * _Nonnull)contentIdentifier options:(NSDictionary<NSString *,id> * _Nullable)options error:(NSError * _Nullable * _Nullable)outError

AVAssetTrack.h

Declaration
From
@property(nonatomic, readonly) AVAsset *asset
To
@property(nonatomic, readonly, weak, nullable) AVAsset *asset

Declaration
From
- (NSArray *)associatedTracksOfType:(NSString *)trackAssociationType
To
- (NSArray<AVAssetTrack *> * _Nonnull)associatedTracksOfType:(NSString * _Nonnull)trackAssociationType

Declaration
From
@property(nonatomic, readonly) NSArray *availableMetadataFormats
To
@property(nonatomic, readonly, nonnull) NSArray<NSString *> *availableMetadataFormats

Declaration
From
@property(nonatomic, readonly) NSArray *availableTrackAssociationTypes
To
@property(nonatomic, readonly, nonnull) NSArray<NSString *> *availableTrackAssociationTypes

Declaration
From
@property(nonatomic, readonly) NSArray *commonMetadata
To
@property(nonatomic, readonly, nonnull) NSArray<AVMetadataItem *> *commonMetadata

Declaration
From
@property(nonatomic, readonly) NSArray *metadata
To
@property(nonatomic, readonly, nonnull) NSArray<AVMetadataItem *> *metadata

Declaration
From
- (NSArray *)metadataForFormat:(NSString *)format
To
- (NSArray<AVMetadataItem *> * _Nonnull)metadataForFormat:(NSString * _Nonnull)format

Declaration
From
@property(nonatomic, copy, readonly) NSArray *segments
To
@property(nonatomic, copy, readonly, nonnull) NSArray<AVAssetTrackSegment *> *segments

AVAssetTrackGroup.h

Declaration
From
@property(nonatomic, readonly) NSArray *trackIDs
To
@property(nonatomic, readonly, nonnull) NSArray<NSNumber *> *trackIDs

AVAssetWriter.h

Declaration
From
@property(nonatomic, readonly) NSArray *availableMediaTypes
To
@property(nonatomic, readonly, nonnull) NSArray<NSString *> *availableMediaTypes

Declaration
From
- (BOOL)canApplyOutputSettings:(NSDictionary *)outputSettings forMediaType:(NSString *)mediaType
To
- (BOOL)canApplyOutputSettings:(NSDictionary<NSString *,id> * _Nullable)outputSettings forMediaType:(NSString * _Nonnull)mediaType

Designated Initializer
From--
Toyes

Declaration
From
@property(nonatomic, readonly) NSArray *inputGroups
To
@property(nonatomic, readonly, nonnull) NSArray<AVAssetWriterInputGroup *> *inputGroups

Declaration
From
@property(nonatomic, readonly) NSArray *inputs
To
@property(nonatomic, readonly, nonnull) NSArray<AVAssetWriterInput *> *inputs

Declaration
From
@property(nonatomic, copy) NSArray *metadata
To
@property(nonatomic, copy, nonnull) NSArray<AVMetadataItem *> *metadata

Declaration
From
+ (AVAssetWriterInputGroup *)assetWriterInputGroupWithInputs:(NSArray *)inputs defaultInput:(AVAssetWriterInput *)defaultInput
To
+ (instancetype _Nonnull)assetWriterInputGroupWithInputs:(NSArray<AVAssetWriterInput *> * _Nonnull)inputs defaultInput:(AVAssetWriterInput * _Nullable)defaultInput

DeclarationDesignated Initializer
From
- (instancetype)initWithInputs:(NSArray *)inputs defaultInput:(AVAssetWriterInput *)defaultInput
--
To
- (instancetype _Nonnull)initWithInputs:(NSArray<AVAssetWriterInput *> * _Nonnull)inputs defaultInput:(AVAssetWriterInput * _Nullable)defaultInput
yes

Declaration
From
@property(nonatomic, readonly) NSArray *inputs
To
@property(nonatomic, readonly, nonnull) NSArray<AVAssetWriterInput *> *inputs

AVAssetWriterInput.h

Declaration
From
+ (AVAssetWriterInput *)assetWriterInputWithMediaType:(NSString *)mediaType outputSettings:(NSDictionary *)outputSettings
To
+ (instancetype _Nonnull)assetWriterInputWithMediaType:(NSString * _Nonnull)mediaType outputSettings:(NSDictionary<NSString *,id> * _Nullable)outputSettings

Declaration
From
+ (AVAssetWriterInput *)assetWriterInputWithMediaType:(NSString *)mediaType outputSettings:(NSDictionary *)outputSettings sourceFormatHint:(CMFormatDescriptionRef)sourceFormatHint
To
+ (instancetype _Nonnull)assetWriterInputWithMediaType:(NSString * _Nonnull)mediaType outputSettings:(NSDictionary<NSString *,id> * _Nullable)outputSettings sourceFormatHint:(CMFormatDescriptionRef _Nullable)sourceFormatHint

Declaration
From
- (instancetype)initWithMediaType:(NSString *)mediaType outputSettings:(NSDictionary *)outputSettings
To
- (instancetype _Nonnull)initWithMediaType:(NSString * _Nonnull)mediaType outputSettings:(NSDictionary<NSString *,id> * _Nullable)outputSettings

DeclarationDesignated Initializer
From
- (instancetype)initWithMediaType:(NSString *)mediaType outputSettings:(NSDictionary *)outputSettings sourceFormatHint:(CMFormatDescriptionRef)sourceFormatHint
--
To
- (instancetype _Nonnull)initWithMediaType:(NSString * _Nonnull)mediaType outputSettings:(NSDictionary<NSString *,id> * _Nullable)outputSettings sourceFormatHint:(CMFormatDescriptionRef _Nullable)sourceFormatHint
yes

Declaration
From
@property(nonatomic, copy) NSArray *metadata
To
@property(nonatomic, copy, nonnull) NSArray<AVMetadataItem *> *metadata

Declaration
From
@property(nonatomic, readonly) NSDictionary *outputSettings
To
@property(nonatomic, readonly, nullable) NSDictionary<NSString *,id> *outputSettings

Designated Initializer
From--
Toyes

Declaration
From
@property(nonatomic, readonly) NSArray *sourceTimeRanges
To
@property(nonatomic, readonly, nonnull) NSArray<NSValue *> *sourceTimeRanges

Declaration
From
+ (instancetype)assetWriterInputPixelBufferAdaptorWithAssetWriterInput:(AVAssetWriterInput *)input sourcePixelBufferAttributes:(NSDictionary *)sourcePixelBufferAttributes
To
+ (instancetype _Nonnull)assetWriterInputPixelBufferAdaptorWithAssetWriterInput:(AVAssetWriterInput * _Nonnull)input sourcePixelBufferAttributes:(NSDictionary<NSString *,id> * _Nullable)sourcePixelBufferAttributes

DeclarationDesignated Initializer
From
- (instancetype)initWithAssetWriterInput:(AVAssetWriterInput *)input sourcePixelBufferAttributes:(NSDictionary *)sourcePixelBufferAttributes
--
To
- (instancetype _Nonnull)initWithAssetWriterInput:(AVAssetWriterInput * _Nonnull)input sourcePixelBufferAttributes:(NSDictionary<NSString *,id> * _Nullable)sourcePixelBufferAttributes
yes

Declaration
From
@property(nonatomic, readonly) NSDictionary *sourcePixelBufferAttributes
To
@property(nonatomic, readonly, nullable) NSDictionary<NSString *,id> *sourcePixelBufferAttributes

AVAsynchronousKeyValueLoading.h

Declaration
From
- (void)loadValuesAsynchronouslyForKeys:(NSArray *)keys completionHandler:(void (^)(void))handler
To
- (void)loadValuesAsynchronouslyForKeys:(NSArray<NSString *> * _Nonnull)keys completionHandler:(void (^ _Nullable)(void))handler

AVAudioBuffer.h

AVAudioChannelLayout.h

Protocols
From--
ToNSSecureCoding

Designated Initializer
From--
Toyes

AVAudioConnectionPoint.h (Added)

AVAudioConverter.h (Added)

Added AVAudioConverter(Encoding)

AVAudioEngine.h

AVAudioEnvironmentNode.h

Declaration
From
- (NSArray *)applicableRenderingAlgorithms
To
@property(nonatomic, readonly, nonnull) NSArray<NSNumber *> *applicableRenderingAlgorithms

AVAudioFile.h

Declaration
From
- (instancetype)initForWriting:(NSURL *)fileURL settings:(NSDictionary *)settings commonFormat:(AVAudioCommonFormat)format interleaved:(BOOL)interleaved error:(NSError **)outError
To
- (instancetype _Nullable)initForWriting:(NSURL * _Nonnull)fileURL settings:(NSDictionary<NSString *,id> * _Nonnull)settings commonFormat:(AVAudioCommonFormat)format interleaved:(BOOL)interleaved error:(NSError * _Nullable * _Nullable)outError

Declaration
From
- (instancetype)initForWriting:(NSURL *)fileURL settings:(NSDictionary *)settings error:(NSError **)outError
To
- (instancetype _Nullable)initForWriting:(NSURL * _Nonnull)fileURL settings:(NSDictionary<NSString *,id> * _Nonnull)settings error:(NSError * _Nullable * _Nullable)outError

AVAudioFormat.h

Modified AVAudioFormat
Protocols
From--
ToNSSecureCoding

Declaration
From
- (instancetype)initWithSettings:(NSDictionary *)settings
To
- (instancetype _Nonnull)initWithSettings:(NSDictionary<NSString *,id> * _Nonnull)settings

Declaration
From
@property(nonatomic, readonly) NSDictionary *settings
To
@property(nonatomic, readonly, nonnull) NSDictionary<NSString *,id> *settings

AVAudioMix.h

Declaration
From
@property(nonatomic, readonly, copy) NSArray *inputParameters
To
@property(nonatomic, readonly, copy, nonnull) NSArray<AVAudioMixInputParameters *> *inputParameters

Declaration
From
+ (AVMutableAudioMix *)audioMix
To
+ (instancetype _Nonnull)audioMix

Declaration
From
@property(nonatomic, copy) NSArray *inputParameters
To
@property(nonatomic, copy, nonnull) NSArray<AVAudioMixInputParameters *> *inputParameters

Declaration
From
+ (AVMutableAudioMixInputParameters *)audioMixInputParameters
To
+ (instancetype _Nonnull)audioMixInputParameters

Declaration
From
+ (AVMutableAudioMixInputParameters *)audioMixInputParametersWithTrack:(AVAssetTrack *)track
To
+ (instancetype _Nonnull)audioMixInputParametersWithTrack:(AVAssetTrack * _Nullable)track

AVAudioMixing.h

AVAudioPlayer.h

Declaration
From
@property(nonatomic, copy) NSArray *channelAssignments
To
@property(nonatomic, copy, nullable) NSArray<NSNumber *> *channelAssignments

Declaration
From
@property(readonly) NSDictionary *settings
To
@property(readonly, nonnull) NSDictionary<NSString *,id> *settings

AVAudioRecorder.h

Declaration
From
@property(nonatomic, copy) NSArray *channelAssignments
To
@property(nonatomic, copy, nullable) NSArray<NSNumber *> *channelAssignments

Declaration
From
- (instancetype)initWithURL:(NSURL *)url settings:(NSDictionary *)settings error:(NSError **)outError
To
- (instancetype _Nullable)initWithURL:(NSURL * _Nonnull)url settings:(NSDictionary<NSString *,id> * _Nonnull)settings error:(NSError * _Nullable * _Nullable)outError

Declaration
From
@property(readonly) NSDictionary *settings
To
@property(readonly, nonnull) NSDictionary<NSString *,id> *settings

AVAudioSequencer.h (Added)

Added AVAudioSequencer(AVAudioSequencer_Player)

AVAudioSession.h

Declaration
From
@property(readonly) NSArray *availableInputs
To
@property(readonly, nullable) NSArray<AVAudioSessionPortDescription *> *availableInputs

Declaration
From
@property(readonly) NSArray *inputDataSources
To
@property(readonly, nullable) NSArray<AVAudioSessionDataSourceDescription *> *inputDataSources

Declaration
From
@property(readonly) NSArray *outputDataSources
To
@property(readonly, nullable) NSArray<AVAudioSessionDataSourceDescription *> *outputDataSources

Declaration
From
@property(readonly) NSArray *supportedPolarPatterns
To
@property(readonly, nullable) NSArray<NSString *> *supportedPolarPatterns

Declaration
From
@property(readonly) NSArray *channels
To
@property(readonly, nullable) NSArray<AVAudioSessionChannelDescription *> *channels

Declaration
From
@property(readonly) NSArray *dataSources
To
@property(readonly, nullable) NSArray<AVAudioSessionDataSourceDescription *> *dataSources

Declaration
From
@property(readonly) NSArray *inputs
To
@property(readonly, nonnull) NSArray<AVAudioSessionPortDescription *> *inputs

Declaration
From
@property(readonly) NSArray *outputs
To
@property(readonly, nonnull) NSArray<AVAudioSessionPortDescription *> *outputs

AVAudioTypes.h

AVAudioUnit.h

Declaration
From
- (BOOL)loadAudioUnitPresetAtURL:(NSURL *)url error:(NSError **)error
To
- (BOOL)loadAudioUnitPresetAtURL:(NSURL * _Nonnull)url error:(NSError * _Nullable * _Nullable)outError

AVAudioUnitComponent.h (Added)

AVAudioUnitEQ.h

Declaration
From
@property(nonatomic, readonly) NSArray *bands
To
@property(nonatomic, readonly, nonnull) NSArray<AVAudioUnitEQFilterParameters *> *bands

AVAudioUnitMIDIInstrument.h

Added #def AVAudioUnitMIDIInstrument_MixingConformance
Protocols
From--
ToAVAudioMixing

AVAudioUnitSampler.h

Declaration
From
- (BOOL)loadAudioFilesAtURLs:(NSArray *)audioFiles error:(NSError **)outError
To
- (BOOL)loadAudioFilesAtURLs:(NSArray<NSURL *> * _Nonnull)audioFiles error:(NSError * _Nullable * _Nullable)outError

AVBase.h

Added #def AV_GENERIC
Added #def AV_GENERIC_CLASS
Added #def AV_INIT_UNAVAILABLE
Added #def AV_PARAMETERIZED_TYPE

AVCaptureInput.h

Declaration
From
+ (id)deviceInputWithDevice:(AVCaptureDevice *)device error:(NSError **)outError
To
+ (instancetype)deviceInputWithDevice:(AVCaptureDevice *)device error:(NSError **)outError

Declaration
From
- (id)initWithDevice:(AVCaptureDevice *)device error:(NSError **)outError
To
- (instancetype)initWithDevice:(AVCaptureDevice *)device error:(NSError **)outError

AVCaptureOutput.h

AVCaptureSession.h

Declaration
From
+ (AVCaptureConnection *)connectionWithInputPort:(AVCaptureInputPort *)port videoPreviewLayer:(AVCaptureVideoPreviewLayer *)layer
To
+ (instancetype)connectionWithInputPort:(AVCaptureInputPort *)port videoPreviewLayer:(AVCaptureVideoPreviewLayer *)layer

Declaration
From
+ (AVCaptureConnection *)connectionWithInputPorts:(NSArray *)ports output:(AVCaptureOutput *)output
To
+ (instancetype)connectionWithInputPorts:(NSArray *)ports output:(AVCaptureOutput *)output

Declaration
From
- (id)initWithInputPort:(AVCaptureInputPort *)port videoPreviewLayer:(AVCaptureVideoPreviewLayer *)layer
To
- (instancetype)initWithInputPort:(AVCaptureInputPort *)port videoPreviewLayer:(AVCaptureVideoPreviewLayer *)layer

Declaration
From
- (id)initWithInputPorts:(NSArray *)ports output:(AVCaptureOutput *)output
To
- (instancetype)initWithInputPorts:(NSArray *)ports output:(AVCaptureOutput *)output

AVCaptureVideoPreviewLayer.h

Declaration
From
- (id)initWithSession:(AVCaptureSession *)session
To
- (instancetype)initWithSession:(AVCaptureSession *)session

Declaration
From
- (id)initWithSessionWithNoConnection:(AVCaptureSession *)session
To
- (instancetype)initWithSessionWithNoConnection:(AVCaptureSession *)session

Declaration
From
+ (id)layerWithSession:(AVCaptureSession *)session
To
+ (instancetype)layerWithSession:(AVCaptureSession *)session

Declaration
From
+ (id)layerWithSessionWithNoConnection:(AVCaptureSession *)session
To
+ (instancetype)layerWithSessionWithNoConnection:(AVCaptureSession *)session

AVComposition.h

Declaration
From
@property(nonatomic, readonly) NSArray *tracks
To
@property(nonatomic, readonly, nonnull) NSArray<AVCompositionTrack *> *tracks

Declaration
From
+ (AVMutableComposition *)composition
To
+ (instancetype _Nonnull)composition

Declaration
From
@property(nonatomic, readonly) NSArray *tracks
To
@property(nonatomic, readonly, nonnull) NSArray<AVMutableCompositionTrack *> *tracks

AVCompositionTrack.h

Declaration
From
@property(nonatomic, readonly, copy) NSArray *segments
To
@property(nonatomic, readonly, copy, nonnull) NSArray<AVCompositionTrackSegment *> *segments

Declaration
From
- (BOOL)insertTimeRange:(CMTimeRange)timeRange ofTrack:(AVAssetTrack *)track atTime:(CMTime)startTime error:(NSError **)error
To
- (BOOL)insertTimeRange:(CMTimeRange)timeRange ofTrack:(AVAssetTrack * _Nonnull)track atTime:(CMTime)startTime error:(NSError * _Nullable * _Nullable)outError

Declaration
From
- (BOOL)insertTimeRanges:(NSArray *)timeRanges ofTracks:(NSArray *)tracks atTime:(CMTime)startTime error:(NSError **)error
To
- (BOOL)insertTimeRanges:(NSArray<NSValue *> * _Nonnull)timeRanges ofTracks:(NSArray<AVAssetTrack *> * _Nonnull)tracks atTime:(CMTime)startTime error:(NSError * _Nullable * _Nullable)outError

Declaration
From
@property(nonatomic, copy) NSArray *segments
To
@property(nonatomic, copy) NSArray<AVCompositionTrackSegment *> * _Null_unspecified segments

Declaration
From
- (BOOL)validateTrackSegments:(NSArray *)trackSegments error:(NSError **)error
To
- (BOOL)validateTrackSegments:(NSArray<AVCompositionTrackSegment *> * _Nonnull)trackSegments error:(NSError * _Nullable * _Nullable)outError

AVCompositionTrackSegment.h

Declaration
From
+ (AVCompositionTrackSegment *)compositionTrackSegmentWithTimeRange:(CMTimeRange)timeRange
To
+ (instancetype _Nonnull)compositionTrackSegmentWithTimeRange:(CMTimeRange)timeRange

Declaration
From
+ (AVCompositionTrackSegment *)compositionTrackSegmentWithURL:(NSURL *)URL trackID:(CMPersistentTrackID)trackID sourceTimeRange:(CMTimeRange)sourceTimeRange targetTimeRange:(CMTimeRange)targetTimeRange
To
+ (instancetype _Nonnull)compositionTrackSegmentWithURL:(NSURL * _Nonnull)URL trackID:(CMPersistentTrackID)trackID sourceTimeRange:(CMTimeRange)sourceTimeRange targetTimeRange:(CMTimeRange)targetTimeRange

Designated Initializer
From--
Toyes

Designated Initializer
From--
Toyes

AVError.h

AVMediaFormat.h

AVMediaSelection.h (Added)

AVMediaSelectionGroup.h

Declaration
From
+ (NSArray *)mediaSelectionOptionsFromArray:(NSArray *)mediaSelectionOptions filteredAndSortedAccordingToPreferredLanguages:(NSArray *)preferredLanguages
To
+ (NSArray<AVMediaSelectionOption *> * _Nonnull)mediaSelectionOptionsFromArray:(NSArray<AVMediaSelectionOption *> * _Nonnull)mediaSelectionOptions filteredAndSortedAccordingToPreferredLanguages:(NSArray<NSString *> * _Nonnull)preferredLanguages

Declaration
From
+ (NSArray *)mediaSelectionOptionsFromArray:(NSArray *)mediaSelectionOptions withLocale:(NSLocale *)locale
To
+ (NSArray<AVMediaSelectionOption *> * _Nonnull)mediaSelectionOptionsFromArray:(NSArray<AVMediaSelectionOption *> * _Nonnull)mediaSelectionOptions withLocale:(NSLocale * _Nonnull)locale

Declaration
From
+ (NSArray *)mediaSelectionOptionsFromArray:(NSArray *)mediaSelectionOptions withMediaCharacteristics:(NSArray *)mediaCharacteristics
To
+ (NSArray<AVMediaSelectionOption *> * _Nonnull)mediaSelectionOptionsFromArray:(NSArray<AVMediaSelectionOption *> * _Nonnull)mediaSelectionOptions withMediaCharacteristics:(NSArray<NSString *> * _Nonnull)mediaCharacteristics

Declaration
From
+ (NSArray *)mediaSelectionOptionsFromArray:(NSArray *)mediaSelectionOptions withoutMediaCharacteristics:(NSArray *)mediaCharacteristics
To
+ (NSArray<AVMediaSelectionOption *> * _Nonnull)mediaSelectionOptionsFromArray:(NSArray<AVMediaSelectionOption *> * _Nonnull)mediaSelectionOptions withoutMediaCharacteristics:(NSArray<NSString *> * _Nonnull)mediaCharacteristics

Declaration
From
@property(nonatomic, readonly) NSArray *options
To
@property(nonatomic, readonly, nonnull) NSArray<AVMediaSelectionOption *> *options

Declaration
From
+ (NSArray *)playableMediaSelectionOptionsFromArray:(NSArray *)mediaSelectionOptions
To
+ (NSArray<AVMediaSelectionOption *> * _Nonnull)playableMediaSelectionOptionsFromArray:(NSArray<AVMediaSelectionOption *> * _Nonnull)mediaSelectionOptions

Declaration
From
@property(nonatomic, readonly) NSArray *availableMetadataFormats
To
@property(nonatomic, readonly, nonnull) NSArray<NSString *> *availableMetadataFormats

Declaration
From
@property(nonatomic, readonly) NSArray *commonMetadata
To
@property(nonatomic, readonly, nonnull) NSArray<AVMetadataItem *> *commonMetadata

Declaration
From
@property(nonatomic, readonly) NSArray *mediaSubTypes
To
@property(nonatomic, readonly, nonnull) NSArray<NSNumber *> *mediaSubTypes

Declaration
From
- (NSArray *)metadataForFormat:(NSString *)format
To
- (NSArray<AVMetadataItem *> * _Nonnull)metadataForFormat:(NSString * _Nonnull)format

AVMetadataFormat.h

AVMetadataIdentifiers.h

AVMetadataItem.h

Added AVMetadataItem(AVMetadataItemDateRepresentation)
Added AVMetadataItem(AVMetadataItemLazyValueLoading)
Added AVMutableMetadataItem(AVMutableMetadataItemDateRepresentation)
Declaration
From
@property(readonly, copy) NSString *commonKey
To
@property(nonatomic, readonly, copy, nullable) NSString *commonKey

Declaration
From
@property(readonly, copy) NSString *dataType
To
@property(nonatomic, readonly, copy, nullable) NSString *dataType

Declaration
From
@property(readonly) NSData *dataValue
To
@property(nonatomic, readonly, nullable) NSData *dataValue

Declaration
From
@property(readonly) NSDate *dateValue
To
@property(nonatomic, readonly, nullable) NSDate *dateValue

Declaration
From
@property(readonly) CMTime duration
To
@property(nonatomic, readonly) CMTime duration

Declaration
From
@property(readonly, copy) NSString *extendedLanguageTag
To
@property(nonatomic, readonly, copy, nullable) NSString *extendedLanguageTag

Declaration
From
@property(readonly, copy) NSDictionary *extraAttributes
To
@property(nonatomic, readonly, copy, nullable) NSDictionary<NSString *,id> *extraAttributes

Declaration
From
@property(readonly, copy) NSString *identifier
To
@property(nonatomic, readonly, copy, nullable) NSString *identifier

Declaration
From
@property(readonly, copy) id<NSObject, NSCopying> key
To
@property(nonatomic, readonly, copy, nullable) id<NSObject, NSCopying> key

Declaration
From
@property(readonly, copy) NSString *keySpace
To
@property(nonatomic, readonly, copy, nullable) NSString *keySpace

Declaration
From
- (void)loadValuesAsynchronouslyForKeys:(NSArray *)keys completionHandler:(void (^)(void))handler
To
- (void)loadValuesAsynchronouslyForKeys:(NSArray<NSString *> * _Nonnull)keys completionHandler:(void (^ _Nullable)(void))handler

Declaration
From
@property(readonly, copy) NSLocale *locale
To
@property(nonatomic, readonly, copy, nullable) NSLocale *locale

Declaration
From
+ (NSArray *)metadataItemsFromArray:(NSArray *)metadataItems filteredAndSortedAccordingToPreferredLanguages:(NSArray *)preferredLanguages
To
+ (NSArray<AVMetadataItem *> * _Nonnull)metadataItemsFromArray:(NSArray<AVMetadataItem *> * _Nonnull)metadataItems filteredAndSortedAccordingToPreferredLanguages:(NSArray<NSString *> * _Nonnull)preferredLanguages

Declaration
From
+ (NSArray *)metadataItemsFromArray:(NSArray *)metadataItems filteredByIdentifier:(NSString *)identifier
To
+ (NSArray<AVMetadataItem *> * _Nonnull)metadataItemsFromArray:(NSArray<AVMetadataItem *> * _Nonnull)metadataItems filteredByIdentifier:(NSString * _Nonnull)identifier

Declaration
From
+ (NSArray *)metadataItemsFromArray:(NSArray *)metadataItems filteredByMetadataItemFilter:(AVMetadataItemFilter *)metadataItemFilter
To
+ (NSArray<AVMetadataItem *> * _Nonnull)metadataItemsFromArray:(NSArray<AVMetadataItem *> * _Nonnull)metadataItems filteredByMetadataItemFilter:(AVMetadataItemFilter * _Nonnull)metadataItemFilter

Declaration
From
+ (NSArray *)metadataItemsFromArray:(NSArray *)metadataItems withKey:(id)key keySpace:(NSString *)keySpace
To
+ (NSArray<AVMetadataItem *> * _Nonnull)metadataItemsFromArray:(NSArray<AVMetadataItem *> * _Nonnull)metadataItems withKey:(id _Nullable)key keySpace:(NSString * _Nullable)keySpace

Declaration
From
+ (NSArray *)metadataItemsFromArray:(NSArray *)metadataItems withLocale:(NSLocale *)locale
To
+ (NSArray<AVMetadataItem *> * _Nonnull)metadataItemsFromArray:(NSArray<AVMetadataItem *> * _Nonnull)metadataItems withLocale:(NSLocale * _Nonnull)locale

Declaration
From
@property(readonly) NSNumber *numberValue
To
@property(nonatomic, readonly, nullable) NSNumber *numberValue

Declaration
From
@property(readonly) NSString *stringValue
To
@property(nonatomic, readonly, nullable) NSString *stringValue

Declaration
From
@property(readonly) CMTime time
To
@property(nonatomic, readonly) CMTime time

Declaration
From
@property(readonly, copy) id<NSObject, NSCopying> value
To
@property(nonatomic, readonly, copy, nullable) id<NSObject, NSCopying> value

Declaration
From
@property(readwrite, copy) NSString *dataType
To
@property(nonatomic, readwrite, copy, nullable) NSString *dataType

Declaration
From
@property(readwrite) CMTime duration
To
@property(nonatomic, readwrite) CMTime duration

Declaration
From
@property(readwrite, copy) NSString *extendedLanguageTag
To
@property(nonatomic, readwrite, copy, nullable) NSString *extendedLanguageTag

Declaration
From
@property(readwrite, copy) NSDictionary *extraAttributes
To
@property(nonatomic, readwrite, copy, nullable) NSDictionary<NSString *,id> *extraAttributes

Declaration
From
@property(readwrite, copy) NSString *identifier
To
@property(nonatomic, readwrite, copy, nullable) NSString *identifier

Declaration
From
@property(readwrite, copy) id<NSObject, NSCopying> key
To
@property(nonatomic, readwrite, copy, nullable) id<NSObject, NSCopying> key

Declaration
From
@property(readwrite, copy) NSString *keySpace
To
@property(nonatomic, readwrite, copy, nullable) NSString *keySpace

Declaration
From
@property(readwrite, copy) NSLocale *locale
To
@property(nonatomic, readwrite, copy, nullable) NSLocale *locale

Declaration
From
@property(readwrite) CMTime time
To
@property(nonatomic, readwrite) CMTime time

Declaration
From
@property(readwrite, copy) id<NSObject, NSCopying> value
To
@property(nonatomic, readwrite, copy, nullable) id<NSObject, NSCopying> value

AVOutputSettingsAssistant.h

Declaration
From
@property(nonatomic, readonly) NSDictionary *audioSettings
To
@property(nonatomic, readonly, nullable) NSDictionary<NSString *,id> *audioSettings

Declaration
From
+ (NSArray *)availableOutputSettingsPresets
To
+ (NSArray<NSString *> * _Nonnull)availableOutputSettingsPresets

Declaration
From
@property(nonatomic, readonly) NSDictionary *videoSettings
To
@property(nonatomic, readonly, nullable) NSDictionary<NSString *,id> *videoSettings

AVPlayer.h

Declaration
From
- (id)addBoundaryTimeObserverForTimes:(NSArray *)times queue:(dispatch_queue_t)queue usingBlock:(void (^)(void))block
To
- (id _Nonnull)addBoundaryTimeObserverForTimes:(NSArray<NSValue *> * _Nonnull)times queue:(dispatch_queue_t _Nullable)queue usingBlock:(void (^ _Nonnull)(void))block

Declaration
From
+ (id)playerWithPlayerItem:(AVPlayerItem *)item
To
+ (instancetype _Nonnull)playerWithPlayerItem:(AVPlayerItem * _Nonnull)item

Declaration
From
+ (id)playerWithURL:(NSURL *)URL
To
+ (instancetype _Nonnull)playerWithURL:(NSURL * _Nonnull)URL

Declaration
From
- (instancetype)initWithItems:(NSArray *)items
To
- (AVQueuePlayer * _Nonnull)initWithItems:(NSArray<AVPlayerItem *> * _Nonnull)items

Declaration
From
- (NSArray *)items
To
- (NSArray<AVPlayerItem *> * _Nonnull)items

Declaration
From
+ (id)queuePlayerWithItems:(NSArray *)items
To
+ (instancetype _Nonnull)queuePlayerWithItems:(NSArray<AVPlayerItem *> * _Nonnull)items

AVPlayerItem.h

Declaration
From
@property(nonatomic, readonly) NSArray *automaticallyLoadedAssetKeys
To
@property(nonatomic, readonly, nonnull) NSArray<NSString *> *automaticallyLoadedAssetKeys

DeclarationDesignated Initializer
From
- (instancetype)initWithAsset:(AVAsset *)asset automaticallyLoadedAssetKeys:(NSArray *)automaticallyLoadedAssetKeys
--
To
- (instancetype _Nonnull)initWithAsset:(AVAsset * _Nonnull)asset automaticallyLoadedAssetKeys:(NSArray<NSString *> * _Nullable)automaticallyLoadedAssetKeys
yes

Declaration
From
@property(nonatomic, readonly) NSArray *loadedTimeRanges
To
@property(nonatomic, readonly, nonnull) NSArray<NSValue *> *loadedTimeRanges

Declaration
From
@property(nonatomic, readonly) NSArray *outputs
To
@property(nonatomic, readonly, nonnull) NSArray<AVPlayerItemOutput *> *outputs

Declaration
From
+ (AVPlayerItem *)playerItemWithAsset:(AVAsset *)asset automaticallyLoadedAssetKeys:(NSArray *)automaticallyLoadedAssetKeys
To
+ (AVPlayerItem * _Nonnull)playerItemWithAsset:(AVAsset * _Nonnull)asset automaticallyLoadedAssetKeys:(NSArray<NSString *> * _Nullable)automaticallyLoadedAssetKeys

Declaration
From
@property(nonatomic, readonly) NSArray *seekableTimeRanges
To
@property(nonatomic, readonly, nonnull) NSArray<NSValue *> *seekableTimeRanges

Declaration
From
@property(nonatomic, copy) NSArray *textStyleRules
To
@property(nonatomic, copy, nullable) NSArray<AVTextStyleRule *> *textStyleRules

Declaration
From
@property(nonatomic, readonly) NSArray *timedMetadata
To
@property(nonatomic, readonly, nullable) NSArray<AVMetadataItem *> *timedMetadata

Declaration
From
@property(nonatomic, readonly) NSArray *tracks
To
@property(nonatomic, readonly, nonnull) NSArray<AVPlayerItemTrack *> *tracks

Declaration
From
@property(nonatomic, readonly) NSArray *events
To
@property(nonatomic, readonly, nonnull) NSArray<AVPlayerItemAccessLogEvent *> *events

Declaration
From
@property(nonatomic, readonly) NSArray *events
To
@property(nonatomic, readonly, nonnull) NSArray<AVPlayerItemErrorLogEvent *> *events

AVPlayerItemOutput.h

Declaration
From
@property(nonatomic, readonly) id<AVPlayerItemLegibleOutputPushDelegate> delegate
To
@property(nonatomic, readonly, weak, nullable) id<AVPlayerItemLegibleOutputPushDelegate> delegate

Declaration
From
- (instancetype)initWithMediaSubtypesForNativeRepresentation:(NSArray *)subtypes
To
- (instancetype _Nonnull)initWithMediaSubtypesForNativeRepresentation:(NSArray<NSNumber *> * _Nonnull)subtypes

Declaration
From
- (void)legibleOutput:(AVPlayerItemLegibleOutput *)output didOutputAttributedStrings:(NSArray *)strings nativeSampleBuffers:(NSArray *)nativeSamples forItemTime:(CMTime)itemTime
To
- (void)legibleOutput:(AVPlayerItemLegibleOutput * _Nonnull)output didOutputAttributedStrings:(NSArray<NSAttributedString *> * _Nonnull)strings nativeSampleBuffers:(NSArray * _Nonnull)nativeSamples forItemTime:(CMTime)itemTime

Declaration
From
@property(nonatomic, readonly) id<AVPlayerItemMetadataOutputPushDelegate> delegate
To
@property(nonatomic, readonly, weak, nullable) id<AVPlayerItemMetadataOutputPushDelegate> delegate

DeclarationDesignated Initializer
From
- (instancetype)initWithIdentifiers:(NSArray *)identifiers
--
To
- (instancetype _Nonnull)initWithIdentifiers:(NSArray<NSString *> * _Nullable)identifiers
yes

Declaration
From
- (void)metadataOutput:(AVPlayerItemMetadataOutput *)output didOutputTimedMetadataGroups:(NSArray *)groups fromPlayerItemTrack:(AVPlayerItemTrack *)track
To
- (void)metadataOutput:(AVPlayerItemMetadataOutput * _Nonnull)output didOutputTimedMetadataGroups:(NSArray<AVTimedMetadataGroup *> * _Nonnull)groups fromPlayerItemTrack:(AVPlayerItemTrack * _Nonnull)track

Declaration
From
@property(nonatomic, readonly) id<AVPlayerItemOutputPullDelegate> delegate
To
@property(nonatomic, readonly, assign, nullable) id<AVPlayerItemOutputPullDelegate> delegate

DeclarationDesignated Initializer
From
- (instancetype)initWithPixelBufferAttributes:(NSDictionary *)pixelBufferAttributes
--
To
- (instancetype _Nonnull)initWithPixelBufferAttributes:(NSDictionary<NSString *,id> * _Nullable)pixelBufferAttributes
yes

AVPlayerLayer.h

AVPlayerMediaSelectionCriteria.h

Declaration
From
- (instancetype)initWithPreferredLanguages:(NSArray *)preferredLanguages preferredMediaCharacteristics:(NSArray *)preferredMediaCharacteristics
To
- (instancetype _Nonnull)initWithPreferredLanguages:(NSArray<NSString *> * _Nullable)preferredLanguages preferredMediaCharacteristics:(NSArray<NSString *> * _Nullable)preferredMediaCharacteristics

Declaration
From
@property(nonatomic, readonly) NSArray *preferredLanguages
To
@property(nonatomic, readonly, nullable) NSArray<NSString *> *preferredLanguages

Declaration
From
@property(nonatomic, readonly) NSArray *preferredMediaCharacteristics
To
@property(nonatomic, readonly, nullable) NSArray<NSString *> *preferredMediaCharacteristics

AVSpeechSynthesis.h

Declaration
From
+ (NSArray *)speechVoices
To
+ (NSArray<AVSpeechSynthesisVoice *> * _Nonnull)speechVoices

Declaration
From
+ (AVSpeechSynthesisVoice *)voiceWithLanguage:(NSString *)language
To
+ (AVSpeechSynthesisVoice * _Nullable)voiceWithLanguage:(NSString * _Nullable)languageCode

AVTextStyleRule.h

Declaration
From
- (instancetype)initWithTextMarkupAttributes:(NSDictionary *)textMarkupAttributes
To
- (instancetype _Nullable)initWithTextMarkupAttributes:(NSDictionary<NSString *,id> * _Nonnull)textMarkupAttributes

DeclarationDesignated Initializer
From
- (instancetype)initWithTextMarkupAttributes:(NSDictionary *)textMarkupAttributes textSelector:(NSString *)textSelector
--
To
- (instancetype _Nullable)initWithTextMarkupAttributes:(NSDictionary<NSString *,id> * _Nonnull)textMarkupAttributes textSelector:(NSString * _Nullable)textSelector
yes

Declaration
From
+ (id)propertyListForTextStyleRules:(NSArray *)textStyleRules
To
+ (id _Nonnull)propertyListForTextStyleRules:(NSArray<AVTextStyleRule *> * _Nonnull)textStyleRules

Declaration
From
@property(nonatomic, readonly) NSDictionary *textMarkupAttributes
To
@property(nonatomic, readonly, nonnull) NSDictionary<NSString *,id> *textMarkupAttributes

Declaration
From
+ (NSArray *)textStyleRulesFromPropertyList:(id)plist
To
+ (NSArray<AVTextStyleRule *> * _Nullable)textStyleRulesFromPropertyList:(id _Nonnull)plist

Declaration
From
+ (AVTextStyleRule *)textStyleRuleWithTextMarkupAttributes:(NSDictionary *)textMarkupAttributes
To
+ (AVTextStyleRule * _Nullable)textStyleRuleWithTextMarkupAttributes:(NSDictionary<NSString *,id> * _Nonnull)textMarkupAttributes

Declaration
From
+ (AVTextStyleRule *)textStyleRuleWithTextMarkupAttributes:(NSDictionary *)textMarkupAttributes textSelector:(NSString *)textSelector
To
+ (AVTextStyleRule * _Nullable)textStyleRuleWithTextMarkupAttributes:(NSDictionary<NSString *,id> * _Nonnull)textMarkupAttributes textSelector:(NSString * _Nullable)textSelector

AVTimedMetadataGroup.h

Declaration
From
@property(readwrite, copy) NSArray *items
To
@property(nonatomic, readwrite, copy, nonnull) NSArray<AVMetadataItem *> *items

Declaration
From
@property(readwrite) CMTimeRange timeRange
To
@property(nonatomic, readwrite) CMTimeRange timeRange

SuperclassesProtocols
FromNSObjectNSCopying
ToAVMetadataGroupNSCopying, NSMutableCopying

Declaration
From
- (instancetype)initWithItems:(NSArray *)items timeRange:(CMTimeRange)timeRange
To
- (instancetype _Nonnull)initWithItems:(NSArray<AVMetadataItem *> * _Nonnull)items timeRange:(CMTimeRange)timeRange

Declaration
From
@property(readonly, copy) NSArray *items
To
@property(nonatomic, readonly, copy, nonnull) NSArray<AVMetadataItem *> *items

Declaration
From
@property(readonly) CMTimeRange timeRange
To
@property(nonatomic, readonly) CMTimeRange timeRange

AVVideoCompositing.h

Declaration
From
@property(nonatomic, readonly) NSArray *sourceTrackIDs
To
@property(nonatomic, readonly, nonnull) NSArray<NSNumber *> *sourceTrackIDs

Declaration
From
@property(nonatomic, readonly) NSDictionary *requiredPixelBufferAttributesForRenderContext
To
@property(nonatomic, readonly, nonnull) NSDictionary<NSString *,id> *requiredPixelBufferAttributesForRenderContext

Declaration
From
@property(nonatomic, readonly) NSDictionary *sourcePixelBufferAttributes
To
@property(nonatomic, readonly, nullable) NSDictionary<NSString *,id> *sourcePixelBufferAttributes

Declaration
From
@property(nonatomic, readonly) NSArray *requiredSourceTrackIDs
To
@property(nonatomic, readonly, nullable) NSArray<NSValue *> *requiredSourceTrackIDs

AVVideoComposition.h

Added AVMutableVideoComposition(AVMutableVideoCompositionFiltering)
Added AVVideoComposition(AVVideoCompositionFiltering)
Declaration
From
@property(nonatomic, copy) NSArray *instructions
To
@property(nonatomic, copy, nonnull) NSArray<id<AVVideoCompositionInstruction>> *instructions

Declaration
From
@property(nonatomic, copy) NSArray *layerInstructions
To
@property(nonatomic, copy, nonnull) NSArray<AVVideoCompositionLayerInstruction *> *layerInstructions

Declaration
From
+ (AVMutableVideoCompositionInstruction *)videoCompositionInstruction
To
+ (instancetype _Nonnull)videoCompositionInstruction

Declaration
From
+ (AVMutableVideoCompositionLayerInstruction *)videoCompositionLayerInstruction
To
+ (instancetype _Nonnull)videoCompositionLayerInstruction

Declaration
From
+ (AVMutableVideoCompositionLayerInstruction *)videoCompositionLayerInstructionWithAssetTrack:(AVAssetTrack *)track
To
+ (instancetype _Nonnull)videoCompositionLayerInstructionWithAssetTrack:(AVAssetTrack * _Nonnull)track

Declaration
From
@property(nonatomic, readonly, copy) NSArray *instructions
To
@property(nonatomic, readonly, copy, nonnull) NSArray<id<AVVideoCompositionInstruction>> *instructions

Declaration
From
+ (AVVideoCompositionCoreAnimationTool *)videoCompositionCoreAnimationToolWithAdditionalLayer:(CALayer *)layer asTrackID:(CMPersistentTrackID)trackID
To
+ (instancetype _Nonnull)videoCompositionCoreAnimationToolWithAdditionalLayer:(CALayer * _Nonnull)layer asTrackID:(CMPersistentTrackID)trackID

Declaration
From
+ (AVVideoCompositionCoreAnimationTool *)videoCompositionCoreAnimationToolWithPostProcessingAsVideoLayer:(CALayer *)videoLayer inLayer:(CALayer *)animationLayer
To
+ (instancetype _Nonnull)videoCompositionCoreAnimationToolWithPostProcessingAsVideoLayer:(CALayer * _Nonnull)videoLayer inLayer:(CALayer * _Nonnull)animationLayer

Declaration
From
+ (AVVideoCompositionCoreAnimationTool *)videoCompositionCoreAnimationToolWithPostProcessingAsVideoLayers:(NSArray *)videoLayers inLayer:(CALayer *)animationLayer
To
+ (instancetype _Nonnull)videoCompositionCoreAnimationToolWithPostProcessingAsVideoLayers:(NSArray<CALayer *> * _Nonnull)videoLayers inLayer:(CALayer * _Nonnull)animationLayer

Declaration
From
@property(nonatomic, retain) CGColorRef backgroundColor
To
@property(nonatomic, readonly, retain, nullable) CGColorRef backgroundColor

Declaration
From
@property(nonatomic, readonly, copy) NSArray *layerInstructions
To
@property(nonatomic, readonly, copy, nonnull) NSArray<AVVideoCompositionLayerInstruction *> *layerInstructions

Declaration
From
@property(nonatomic, readonly) NSArray *requiredSourceTrackIDs
To
@property(nonatomic, readonly, nonnull) NSArray<NSValue *> *requiredSourceTrackIDs