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) AVMetadataItem *creationDate
To
@property(nonatomic, readonly, nullable) AVMetadataItem *creationDate

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

Declaration
From
- (AVMediaSelectionGroup *)mediaSelectionGroupForMediaCharacteristic:(NSString *)mediaCharacteristic
To
- (AVMediaSelectionGroup * _Nullable)mediaSelectionGroupForMediaCharacteristic:(NSString * _Nonnull)mediaCharacteristic

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
- (AVAssetTrack *)trackWithTrackID:(CMPersistentTrackID)trackID
To
- (AVAssetTrack * _Nullable)trackWithTrackID:(CMPersistentTrackID)trackID

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

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

Declaration
From
- (AVAssetTrack *)compatibleTrackForCompositionTrack:(AVCompositionTrack *)compositionTrack
To
- (AVAssetTrack * _Nullable)compatibleTrackForCompositionTrack:(AVCompositionTrack * _Nonnull)compositionTrack

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
+ (BOOL)isPlayableExtendedMIMEType:(NSString *)extendedMIMEType
To
+ (BOOL)isPlayableExtendedMIMEType:(NSString * _Nonnull)extendedMIMEType

Declaration
From
@property(nonatomic, readonly) AVAssetResourceLoader *resourceLoader
To
@property(nonatomic, readonly, nonnull) AVAssetResourceLoader *resourceLoader

Declaration
From
@property(nonatomic, readonly, copy) NSURL *URL
To
@property(nonatomic, readonly, copy, nonnull) NSURL *URL

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

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
@property(nonatomic, retain, readonly) AVAsset *asset
To
@property(nonatomic, retain, readonly, nonnull) AVAsset *asset

Declaration
From
@property(nonatomic, copy) AVAudioMix *audioMix
To
@property(nonatomic, copy, nullable) AVAudioMix *audioMix

Declaration
From
@property(nonatomic, copy) NSString *audioTimePitchAlgorithm
To
@property(nonatomic, copy, nonnull) NSString *audioTimePitchAlgorithm

Declaration
From
@property(nonatomic, readonly) id<AVVideoCompositing> customVideoCompositor
To
@property(nonatomic, readonly, nullable) id<AVVideoCompositing> customVideoCompositor

Declaration
From
+ (void)determineCompatibilityOfExportPreset:(NSString *)presetName withAsset:(AVAsset *)asset outputFileType:(NSString *)outputFileType completionHandler:(void (^)(BOOL compatible))handler
To
+ (void)determineCompatibilityOfExportPreset:(NSString * _Nonnull)presetName withAsset:(AVAsset * _Nonnull)asset outputFileType:(NSString * _Nullable)outputFileType completionHandler:(void (^ _Nonnull)(BOOL compatible))handler

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

Declaration
From
@property(nonatomic, copy) NSURL *directoryForTemporaryFiles
To
@property(nonatomic, copy, nullable) NSURL *directoryForTemporaryFiles

Declaration
From
@property(nonatomic, readonly) NSError *error
To
@property(nonatomic, readonly, nullable) NSError *error

Declaration
From
- (void)exportAsynchronouslyWithCompletionHandler:(void (^)(void))handler
To
- (void)exportAsynchronouslyWithCompletionHandler:(void (^ _Nonnull)(void))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

DeclarationDesignated Initializer
From
- (instancetype)initWithAsset:(AVAsset *)asset presetName:(NSString *)presetName
--
To
- (instancetype _Nullable)initWithAsset:(AVAsset * _Nonnull)asset presetName:(NSString * _Nonnull)presetName
yes

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

Declaration
From
@property(nonatomic, retain) AVMetadataItemFilter *metadataItemFilter
To
@property(nonatomic, retain, nullable) AVMetadataItemFilter *metadataItemFilter

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

Declaration
From
@property(nonatomic, copy) NSURL *outputURL
To
@property(nonatomic, copy, nullable) NSURL *outputURL

Declaration
From
@property(nonatomic, readonly) NSString *presetName
To
@property(nonatomic, readonly, nonnull) NSString *presetName

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

Declaration
From
@property(nonatomic, copy) AVVideoComposition *videoComposition
To
@property(nonatomic, copy, nullable) AVVideoComposition *videoComposition

AVAssetImageGenerator.h

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

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

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

Declaration
From
- (CGImageRef)copyCGImageAtTime:(CMTime)requestedTime actualTime:(CMTime *)actualTime error:(NSError **)outError
To
- (CGImageRef _Nullable)copyCGImageAtTime:(CMTime)requestedTime actualTime:(CMTime * _Nullable)actualTime error:(NSError * _Nullable * _Nullable)outError

Declaration
From
@property(nonatomic, readonly) id<AVVideoCompositing> customVideoCompositor
To
@property(nonatomic, readonly, nullable) id<AVVideoCompositing> customVideoCompositor

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

DeclarationDesignated Initializer
From
- (instancetype)initWithAsset:(AVAsset *)asset
--
To
- (instancetype _Nonnull)initWithAsset:(AVAsset * _Nonnull)asset
yes

Declaration
From
@property(nonatomic, copy) AVVideoComposition *videoComposition
To
@property(nonatomic, copy, nullable) AVVideoComposition *videoComposition

AVAssetReader.h

Declaration
From
- (void)addOutput:(AVAssetReaderOutput *)output
To
- (void)addOutput:(AVAssetReaderOutput * _Nonnull)output

Declaration
From
@property(nonatomic, retain, readonly) AVAsset *asset
To
@property(nonatomic, retain, readonly, nonnull) AVAsset *asset

Declaration
From
+ (instancetype)assetReaderWithAsset:(AVAsset *)asset error:(NSError **)outError
To
+ (instancetype _Nullable)assetReaderWithAsset:(AVAsset * _Nonnull)asset error:(NSError * _Nullable * _Nullable)outError

Declaration
From
- (BOOL)canAddOutput:(AVAssetReaderOutput *)output
To
- (BOOL)canAddOutput:(AVAssetReaderOutput * _Nonnull)output

Declaration
From
@property(readonly) NSError *error
To
@property(readonly, nullable) NSError *error

DeclarationDesignated Initializer
From
- (instancetype)initWithAsset:(AVAsset *)asset error:(NSError **)outError
--
To
- (instancetype _Nullable)initWithAsset:(AVAsset * _Nonnull)asset error:(NSError * _Nullable * _Nullable)outError
yes

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, copy) AVAudioMix *audioMix
To
@property(nonatomic, copy, nullable) AVAudioMix *audioMix

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

Declaration
From
@property(nonatomic, copy) NSString *audioTimePitchAlgorithm
To
@property(nonatomic, copy, nonnull) NSString *audioTimePitchAlgorithm

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
- (CMSampleBufferRef)copyNextSampleBuffer
To
- (CMSampleBufferRef _Nullable)copyNextSampleBuffer

Declaration
From
@property(nonatomic, readonly) NSString *mediaType
To
@property(nonatomic, readonly, nonnull) NSString *mediaType

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

Declaration
From
+ (instancetype)assetReaderOutputMetadataAdaptorWithAssetReaderTrackOutput:(AVAssetReaderTrackOutput *)trackOutput
To
+ (instancetype _Nonnull)assetReaderOutputMetadataAdaptorWithAssetReaderTrackOutput:(AVAssetReaderTrackOutput * _Nonnull)trackOutput

Declaration
From
@property(nonatomic, readonly) AVAssetReaderTrackOutput *assetReaderTrackOutput
To
@property(nonatomic, readonly, nonnull) AVAssetReaderTrackOutput *assetReaderTrackOutput

DeclarationDesignated Initializer
From
- (instancetype)initWithAssetReaderTrackOutput:(AVAssetReaderTrackOutput *)trackOutput
--
To
- (instancetype _Nonnull)initWithAssetReaderTrackOutput:(AVAssetReaderTrackOutput * _Nonnull)trackOutput
yes

Declaration
From
- (AVTimedMetadataGroup *)nextTimedMetadataGroup
To
- (AVTimedMetadataGroup * _Nullable)nextTimedMetadataGroup

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

DeclarationDesignated Initializer
From
- (instancetype)initWithTrack:(AVAssetTrack *)track
--
To
- (instancetype _Nonnull)initWithTrack:(AVAssetTrack * _Nonnull)track
yes

Declaration
From
@property(nonatomic, readonly) AVAssetTrack *track
To
@property(nonatomic, readonly, nonnull) AVAssetTrack *track

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

Declaration
From
@property(nonatomic, copy) NSString *audioTimePitchAlgorithm
To
@property(nonatomic, copy, nonnull) NSString *audioTimePitchAlgorithm

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
@property(nonatomic, readonly) AVAssetTrack *track
To
@property(nonatomic, readonly, nonnull) AVAssetTrack *track

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

Declaration
From
@property(nonatomic, readonly) id<AVVideoCompositing> customVideoCompositor
To
@property(nonatomic, readonly, nullable) id<AVVideoCompositing> customVideoCompositor

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, copy) AVVideoComposition *videoComposition
To
@property(nonatomic, copy, nullable) AVVideoComposition *videoComposition

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
@property(nonatomic, readonly) dispatch_queue_t delegateQueue
To
@property(nonatomic, readonly, nullable) dispatch_queue_t delegateQueue

Declaration
From
- (void)setDelegate:(id<AVAssetResourceLoaderDelegate>)delegate queue:(dispatch_queue_t)delegateQueue
To
- (void)setDelegate:(id<AVAssetResourceLoaderDelegate> _Nullable)delegate queue:(dispatch_queue_t _Nullable)delegateQueue

Declaration
From
- (void)resourceLoader:(AVAssetResourceLoader *)resourceLoader didCancelAuthenticationChallenge:(NSURLAuthenticationChallenge *)authenticationChallenge
To
- (void)resourceLoader:(AVAssetResourceLoader * _Nonnull)resourceLoader didCancelAuthenticationChallenge:(NSURLAuthenticationChallenge * _Nonnull)authenticationChallenge

Declaration
From
- (void)resourceLoader:(AVAssetResourceLoader *)resourceLoader didCancelLoadingRequest:(AVAssetResourceLoadingRequest *)loadingRequest
To
- (void)resourceLoader:(AVAssetResourceLoader * _Nonnull)resourceLoader didCancelLoadingRequest:(AVAssetResourceLoadingRequest * _Nonnull)loadingRequest

Declaration
From
- (BOOL)resourceLoader:(AVAssetResourceLoader *)resourceLoader shouldWaitForLoadingOfRequestedResource:(AVAssetResourceLoadingRequest *)loadingRequest
To
- (BOOL)resourceLoader:(AVAssetResourceLoader * _Nonnull)resourceLoader shouldWaitForLoadingOfRequestedResource:(AVAssetResourceLoadingRequest * _Nonnull)loadingRequest

Declaration
From
- (BOOL)resourceLoader:(AVAssetResourceLoader *)resourceLoader shouldWaitForRenewalOfRequestedResource:(AVAssetResourceRenewalRequest *)renewalRequest
To
- (BOOL)resourceLoader:(AVAssetResourceLoader * _Nonnull)resourceLoader shouldWaitForRenewalOfRequestedResource:(AVAssetResourceRenewalRequest * _Nonnull)renewalRequest

Declaration
From
- (BOOL)resourceLoader:(AVAssetResourceLoader *)resourceLoader shouldWaitForResponseToAuthenticationChallenge:(NSURLAuthenticationChallenge *)authenticationChallenge
To
- (BOOL)resourceLoader:(AVAssetResourceLoader * _Nonnull)resourceLoader shouldWaitForResponseToAuthenticationChallenge:(NSURLAuthenticationChallenge * _Nonnull)authenticationChallenge

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

Declaration
From
@property(nonatomic, copy) NSDate *renewalDate
To
@property(nonatomic, copy, nullable) NSDate *renewalDate

Declaration
From
- (void)respondWithData:(NSData *)data
To
- (void)respondWithData:(NSData * _Nonnull)data

Declaration
From
@property(nonatomic, readonly) AVAssetResourceLoadingContentInformationRequest *contentInformationRequest
To
@property(nonatomic, readonly, nullable) AVAssetResourceLoadingContentInformationRequest *contentInformationRequest

Declaration
From
@property(nonatomic, readonly) AVAssetResourceLoadingDataRequest *dataRequest
To
@property(nonatomic, readonly, nullable) AVAssetResourceLoadingDataRequest *dataRequest

Declaration
From
- (void)finishLoadingWithError:(NSError *)error
To
- (void)finishLoadingWithError:(NSError * _Nullable)error

Declaration
From
@property(nonatomic, copy) NSURLRequest *redirect
To
@property(nonatomic, copy, nullable) NSURLRequest *redirect

Declaration
From
@property(nonatomic, readonly) NSURLRequest *request
To
@property(nonatomic, readonly, nonnull) NSURLRequest *request

Declaration
From
@property(nonatomic, copy) NSURLResponse *response
To
@property(nonatomic, copy, nullable) NSURLResponse *response

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) NSString *extendedLanguageTag
To
@property(nonatomic, readonly, nonnull) NSString *extendedLanguageTag

Declaration
From
@property(nonatomic, readonly) NSArray *formatDescriptions
To
@property(nonatomic, readonly, nonnull) NSArray *formatDescriptions

Declaration
From
- (BOOL)hasMediaCharacteristic:(NSString *)mediaCharacteristic
To
- (BOOL)hasMediaCharacteristic:(NSString * _Nonnull)mediaCharacteristic

Declaration
From
@property(nonatomic, readonly) NSString *languageCode
To
@property(nonatomic, readonly, nonnull) NSString *languageCode

Declaration
From
- (AVSampleCursor *)makeSampleCursorAtFirstSampleInDecodeOrder
To
- (AVSampleCursor * _Nullable)makeSampleCursorAtFirstSampleInDecodeOrder

Declaration
From
- (AVSampleCursor *)makeSampleCursorAtLastSampleInDecodeOrder
To
- (AVSampleCursor * _Nullable)makeSampleCursorAtLastSampleInDecodeOrder

Declaration
From
- (AVSampleCursor *)makeSampleCursorWithPresentationTimeStamp:(CMTime)presentationTimeStamp
To
- (AVSampleCursor * _Nullable)makeSampleCursorWithPresentationTimeStamp:(CMTime)presentationTimeStamp

Declaration
From
@property(nonatomic, readonly) NSString *mediaType
To
@property(nonatomic, readonly, nonnull) NSString *mediaType

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
- (AVAssetTrackSegment *)segmentForTrackTime:(CMTime)trackTime
To
- (AVAssetTrackSegment * _Nullable)segmentForTrackTime:(CMTime)trackTime

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
- (void)addInput:(AVAssetWriterInput *)input
To
- (void)addInput:(AVAssetWriterInput * _Nonnull)input

Declaration
From
- (void)addInputGroup:(AVAssetWriterInputGroup *)inputGroup
To
- (void)addInputGroup:(AVAssetWriterInputGroup * _Nonnull)inputGroup

Declaration
From
+ (instancetype)assetWriterWithURL:(NSURL *)outputURL fileType:(NSString *)outputFileType error:(NSError **)outError
To
+ (instancetype _Nullable)assetWriterWithURL:(NSURL * _Nonnull)outputURL fileType:(NSString * _Nonnull)outputFileType error:(NSError * _Nullable * _Nullable)outError

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

Declaration
From
- (BOOL)canAddInput:(AVAssetWriterInput *)input
To
- (BOOL)canAddInput:(AVAssetWriterInput * _Nonnull)input

Declaration
From
- (BOOL)canAddInputGroup:(AVAssetWriterInputGroup *)inputGroup
To
- (BOOL)canAddInputGroup:(AVAssetWriterInputGroup * _Nonnull)inputGroup

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

Declaration
From
@property(nonatomic, copy) NSURL *directoryForTemporaryFiles
To
@property(nonatomic, copy, nullable) NSURL *directoryForTemporaryFiles

Declaration
From
@property(readonly) NSError *error
To
@property(readonly, nullable) NSError *error

Declaration
From
- (void)finishWritingWithCompletionHandler:(void (^)(void))handler
To
- (void)finishWritingWithCompletionHandler:(void (^ _Nonnull)(void))handler

DeclarationDesignated Initializer
From
- (instancetype)initWithURL:(NSURL *)outputURL fileType:(NSString *)outputFileType error:(NSError **)outError
--
To
- (instancetype _Nullable)initWithURL:(NSURL * _Nonnull)outputURL fileType:(NSString * _Nonnull)outputFileType error:(NSError * _Nullable * _Nullable)outError
yes

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
@property(nonatomic, copy, readonly) NSString *outputFileType
To
@property(nonatomic, copy, readonly, nonnull) NSString *outputFileType

Declaration
From
@property(nonatomic, copy, readonly) NSURL *outputURL
To
@property(nonatomic, copy, readonly, nonnull) NSURL *outputURL

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

Declaration
From
@property(nonatomic, readonly) AVAssetWriterInput *defaultInput
To
@property(nonatomic, readonly, nullable) AVAssetWriterInput *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
- (void)addTrackAssociationWithTrackOfInput:(AVAssetWriterInput *)input type:(NSString *)trackAssociationType
To
- (void)addTrackAssociationWithTrackOfInput:(AVAssetWriterInput * _Nonnull)input type:(NSString * _Nonnull)trackAssociationType

Declaration
From
- (BOOL)appendSampleBuffer:(CMSampleBufferRef)sampleBuffer
To
- (BOOL)appendSampleBuffer:(CMSampleBufferRef _Nonnull)sampleBuffer

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
- (BOOL)canAddTrackAssociationWithTrackOfInput:(AVAssetWriterInput *)input type:(NSString *)trackAssociationType
To
- (BOOL)canAddTrackAssociationWithTrackOfInput:(AVAssetWriterInput * _Nonnull)input type:(NSString * _Nonnull)trackAssociationType

Declaration
From
@property(readonly) AVAssetWriterInputPassDescription *currentPassDescription
To
@property(readonly, nullable) AVAssetWriterInputPassDescription *currentPassDescription

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

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) NSString *languageCode
To
@property(nonatomic, copy, nullable) NSString *languageCode

Declaration
From
@property(nonatomic, readonly) NSString *mediaType
To
@property(nonatomic, readonly, nonnull) NSString *mediaType

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

Declaration
From
- (void)requestMediaDataWhenReadyOnQueue:(dispatch_queue_t)queue usingBlock:(void (^)(void))block
To
- (void)requestMediaDataWhenReadyOnQueue:(dispatch_queue_t _Nonnull)queue usingBlock:(void (^ _Nonnull)(void))block

Declaration
From
- (void)respondToEachPassDescriptionOnQueue:(dispatch_queue_t)queue usingBlock:(dispatch_block_t)block
To
- (void)respondToEachPassDescriptionOnQueue:(dispatch_queue_t _Nonnull)queue usingBlock:(dispatch_block_t _Nonnull)block

Declaration
From
@property(nonatomic, copy) NSURL *sampleReferenceBaseURL
To
@property(nonatomic, copy, nullable) NSURL *sampleReferenceBaseURL

Declaration
From
@property(nonatomic, readonly) CMFormatDescriptionRef sourceFormatHint
To
@property(nonatomic, readonly, nullable) CMFormatDescriptionRef sourceFormatHint

Declaration
From
- (BOOL)appendTimedMetadataGroup:(AVTimedMetadataGroup *)timedMetadataGroup
To
- (BOOL)appendTimedMetadataGroup:(AVTimedMetadataGroup * _Nonnull)timedMetadataGroup

Declaration
From
@property(nonatomic, readonly) AVAssetWriterInput *assetWriterInput
To
@property(nonatomic, readonly, nonnull) AVAssetWriterInput *assetWriterInput

Declaration
From
+ (instancetype)assetWriterInputMetadataAdaptorWithAssetWriterInput:(AVAssetWriterInput *)input
To
+ (instancetype _Nonnull)assetWriterInputMetadataAdaptorWithAssetWriterInput:(AVAssetWriterInput * _Nonnull)input

DeclarationDesignated Initializer
From
- (instancetype)initWithAssetWriterInput:(AVAssetWriterInput *)input
--
To
- (instancetype _Nonnull)initWithAssetWriterInput:(AVAssetWriterInput * _Nonnull)input
yes

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

Declaration
From
- (BOOL)appendPixelBuffer:(CVPixelBufferRef)pixelBuffer withPresentationTime:(CMTime)presentationTime
To
- (BOOL)appendPixelBuffer:(CVPixelBufferRef _Nonnull)pixelBuffer withPresentationTime:(CMTime)presentationTime

Declaration
From
@property(nonatomic, readonly) AVAssetWriterInput *assetWriterInput
To
@property(nonatomic, readonly, nonnull) AVAssetWriterInput *assetWriterInput

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) CVPixelBufferPoolRef pixelBufferPool
To
@property(nonatomic, readonly, nullable) CVPixelBufferPoolRef pixelBufferPool

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

Declaration
From
- (AVKeyValueStatus)statusOfValueForKey:(NSString *)key error:(NSError **)outError
To
- (AVKeyValueStatus)statusOfValueForKey:(NSString * _Nonnull)key error:(NSError * _Nullable * _Nullable)outError

AVAudioBuffer.h

Declaration
From
@property(nonatomic, readonly) const AudioBufferList *audioBufferList
To
@property(nonatomic, readonly, nonnull) const AudioBufferList *audioBufferList

Declaration
From
@property(nonatomic, readonly) AVAudioFormat *format
To
@property(nonatomic, readonly, nonnull) AVAudioFormat *format

Declaration
From
@property(nonatomic, readonly) AudioBufferList *mutableAudioBufferList
To
@property(nonatomic, readonly, nonnull) AudioBufferList *mutableAudioBufferList

Declaration
From
@property(nonatomic, readonly) float *const *floatChannelData
To
@property(nonatomic, readonly, nonnull) float *const  * _Nullable floatChannelData

DeclarationDesignated Initializer
From
- (instancetype)initWithPCMFormat:(AVAudioFormat *)format frameCapacity:(AVAudioFrameCount)frameCapacity
--
To
- (instancetype _Nonnull)initWithPCMFormat:(AVAudioFormat * _Nonnull)format frameCapacity:(AVAudioFrameCount)frameCapacity
yes

Declaration
From
@property(nonatomic, readonly) int16_t *const *int16ChannelData
To
@property(nonatomic, readonly, nonnull) int16_t *const  * _Nullable int16ChannelData

Declaration
From
@property(nonatomic, readonly) int32_t *const *int32ChannelData
To
@property(nonatomic, readonly, nonnull) int32_t *const  * _Nullable int32ChannelData

AVAudioChannelLayout.h

Protocols
From--
ToNSSecureCoding

DeclarationDesignated Initializer
From
- (instancetype)initWithLayout:(const AudioChannelLayout *)layout
--
To
- (instancetype _Nonnull)initWithLayout:(const AudioChannelLayout * _Nonnull)layout
yes

Declaration
From
- (instancetype)initWithLayoutTag:(AudioChannelLayoutTag)layoutTag
To
- (instancetype _Nonnull)initWithLayoutTag:(AudioChannelLayoutTag)layoutTag

Declaration
From
- (BOOL)isEqual:(id)object
To
- (BOOL)isEqual:(id _Nonnull)object

Declaration
From
@property(nonatomic, readonly) const AudioChannelLayout *layout
To
@property(nonatomic, readonly, nonnull) const AudioChannelLayout *layout

Declaration
From
+ (instancetype)layoutWithLayout:(const AudioChannelLayout *)layout
To
+ (instancetype _Nonnull)layoutWithLayout:(const AudioChannelLayout * _Nonnull)layout

Declaration
From
+ (instancetype)layoutWithLayoutTag:(AudioChannelLayoutTag)layoutTag
To
+ (instancetype _Nonnull)layoutWithLayoutTag:(AudioChannelLayoutTag)layoutTag

AVAudioConnectionPoint.h (Added)

AVAudioConverter.h (Added)

Added AVAudioConverter(Encoding)

AVAudioEngine.h

Declaration
From
- (void)attachNode:(AVAudioNode *)node
To
- (void)attachNode:(AVAudioNode * _Nonnull)node

Declaration
From
- (void)connect:(AVAudioNode *)node1 to:(AVAudioNode *)node2 format:(AVAudioFormat *)format
To
- (void)connect:(AVAudioNode * _Nonnull)node1 to:(AVAudioNode * _Nonnull)node2 format:(AVAudioFormat * _Nullable)format

Declaration
From
- (void)connect:(AVAudioNode *)node1 to:(AVAudioNode *)node2 fromBus:(AVAudioNodeBus)bus1 toBus:(AVAudioNodeBus)bus2 format:(AVAudioFormat *)format
To
- (void)connect:(AVAudioNode * _Nonnull)node1 to:(AVAudioNode * _Nonnull)node2 fromBus:(AVAudioNodeBus)bus1 toBus:(AVAudioNodeBus)bus2 format:(AVAudioFormat * _Nullable)format

Declaration
From
- (void)detachNode:(AVAudioNode *)node
To
- (void)detachNode:(AVAudioNode * _Nonnull)node

Declaration
From
- (void)disconnectNodeInput:(AVAudioNode *)node
To
- (void)disconnectNodeInput:(AVAudioNode * _Nonnull)node

Declaration
From
- (void)disconnectNodeInput:(AVAudioNode *)node bus:(AVAudioNodeBus)bus
To
- (void)disconnectNodeInput:(AVAudioNode * _Nonnull)node bus:(AVAudioNodeBus)bus

Declaration
From
- (void)disconnectNodeOutput:(AVAudioNode *)node
To
- (void)disconnectNodeOutput:(AVAudioNode * _Nonnull)node

Declaration
From
- (void)disconnectNodeOutput:(AVAudioNode *)node bus:(AVAudioNodeBus)bus
To
- (void)disconnectNodeOutput:(AVAudioNode * _Nonnull)node bus:(AVAudioNodeBus)bus

Declaration
From
- (instancetype)init
To
- (instancetype _Nonnull)init

Declaration
From
@property(readonly, nonatomic) AVAudioInputNode *inputNode
To
@property(readonly, nonatomic, nullable) AVAudioInputNode *inputNode

Declaration
From
@property(readonly, nonatomic) AVAudioMixerNode *mainMixerNode
To
@property(readonly, nonatomic, nonnull) AVAudioMixerNode *mainMixerNode

Declaration
From
@property(nonatomic) MusicSequence musicSequence
To
@property(nonatomic, nullable) MusicSequence musicSequence

Declaration
From
@property(readonly, nonatomic) AVAudioOutputNode *outputNode
To
@property(readonly, nonatomic, nonnull) AVAudioOutputNode *outputNode

Declaration
From
- (BOOL)startAndReturnError:(NSError **)outError
To
- (BOOL)startAndReturnError:(NSError * _Nullable * _Nullable)outError

AVAudioEnvironmentNode.h

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

Declaration
From
@property(nonatomic, readonly) AVAudioEnvironmentDistanceAttenuationParameters *distanceAttenuationParameters
To
@property(nonatomic, readonly, nonnull) AVAudioEnvironmentDistanceAttenuationParameters *distanceAttenuationParameters

Declaration
From
@property(nonatomic, readonly) AVAudioEnvironmentReverbParameters *reverbParameters
To
@property(nonatomic, readonly, nonnull) AVAudioEnvironmentReverbParameters *reverbParameters

Declaration
From
@property(nonatomic, readonly) AVAudioUnitEQFilterParameters *filterParameters
To
@property(nonatomic, readonly, nonnull) AVAudioUnitEQFilterParameters *filterParameters

AVAudioFile.h

Declaration
From
@property(nonatomic, readonly) AVAudioFormat *fileFormat
To
@property(nonatomic, readonly, nonnull) AVAudioFormat *fileFormat

Declaration
From
- (instancetype)initForReading:(NSURL *)fileURL commonFormat:(AVAudioCommonFormat)format interleaved:(BOOL)interleaved error:(NSError **)outError
To
- (instancetype _Nullable)initForReading:(NSURL * _Nonnull)fileURL commonFormat:(AVAudioCommonFormat)format interleaved:(BOOL)interleaved error:(NSError * _Nullable * _Nullable)outError

Declaration
From
- (instancetype)initForReading:(NSURL *)fileURL error:(NSError **)outError
To
- (instancetype _Nullable)initForReading:(NSURL * _Nonnull)fileURL error:(NSError * _Nullable * _Nullable)outError

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

Declaration
From
@property(nonatomic, readonly) AVAudioFormat *processingFormat
To
@property(nonatomic, readonly, nonnull) AVAudioFormat *processingFormat

Declaration
From
- (BOOL)readIntoBuffer:(AVAudioPCMBuffer *)buffer error:(NSError **)outError
To
- (BOOL)readIntoBuffer:(AVAudioPCMBuffer * _Nonnull)buffer error:(NSError * _Nullable * _Nullable)outError

Declaration
From
- (BOOL)readIntoBuffer:(AVAudioPCMBuffer *)buffer frameCount:(AVAudioFrameCount)frames error:(NSError **)outError
To
- (BOOL)readIntoBuffer:(AVAudioPCMBuffer * _Nonnull)buffer frameCount:(AVAudioFrameCount)frames error:(NSError * _Nullable * _Nullable)outError

Declaration
From
@property(nonatomic, readonly) NSURL *url
To
@property(nonatomic, readonly, nonnull) NSURL *url

Declaration
From
- (BOOL)writeFromBuffer:(const AVAudioPCMBuffer *)buffer error:(NSError **)outError
To
- (BOOL)writeFromBuffer:(const AVAudioPCMBuffer * _Nonnull)buffer error:(NSError * _Nullable * _Nullable)outError

AVAudioFormat.h

Modified AVAudioFormat
Protocols
From--
ToNSSecureCoding

Declaration
From
@property(nonatomic, readonly) const AVAudioChannelLayout *channelLayout
To
@property(nonatomic, readonly, nullable) const AVAudioChannelLayout *channelLayout

Declaration
From
- (instancetype)initStandardFormatWithSampleRate:(double)sampleRate channelLayout:(AVAudioChannelLayout *)layout
To
- (instancetype _Nonnull)initStandardFormatWithSampleRate:(double)sampleRate channelLayout:(AVAudioChannelLayout * _Nonnull)layout

Declaration
From
- (instancetype)initStandardFormatWithSampleRate:(double)sampleRate channels:(AVAudioChannelCount)channels
To
- (instancetype _Nonnull)initStandardFormatWithSampleRate:(double)sampleRate channels:(AVAudioChannelCount)channels

Declaration
From
- (instancetype)initWithCommonFormat:(AVAudioCommonFormat)format sampleRate:(double)sampleRate channels:(AVAudioChannelCount)channels interleaved:(BOOL)interleaved
To
- (instancetype _Nonnull)initWithCommonFormat:(AVAudioCommonFormat)format sampleRate:(double)sampleRate channels:(AVAudioChannelCount)channels interleaved:(BOOL)interleaved

Declaration
From
- (instancetype)initWithCommonFormat:(AVAudioCommonFormat)format sampleRate:(double)sampleRate interleaved:(BOOL)interleaved channelLayout:(AVAudioChannelLayout *)layout
To
- (instancetype _Nonnull)initWithCommonFormat:(AVAudioCommonFormat)format sampleRate:(double)sampleRate interleaved:(BOOL)interleaved channelLayout:(AVAudioChannelLayout * _Nonnull)layout

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

Declaration
From
- (instancetype)initWithStreamDescription:(const AudioStreamBasicDescription *)asbd
To
- (instancetype _Nonnull)initWithStreamDescription:(const AudioStreamBasicDescription * _Nonnull)asbd

Declaration
From
- (instancetype)initWithStreamDescription:(const AudioStreamBasicDescription *)asbd channelLayout:(AVAudioChannelLayout *)layout
To
- (instancetype _Nonnull)initWithStreamDescription:(const AudioStreamBasicDescription * _Nonnull)asbd channelLayout:(AVAudioChannelLayout * _Nullable)layout

Declaration
From
- (BOOL)isEqual:(id)object
To
- (BOOL)isEqual:(id _Nonnull)object

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

Declaration
From
@property(nonatomic, readonly) const AudioStreamBasicDescription *streamDescription
To
@property(nonatomic, readonly, nonnull) const AudioStreamBasicDescription *streamDescription

AVAudioIONode.h

Declaration
From
@property(nonatomic, readonly) AudioUnit audioUnit
To
@property(nonatomic, readonly, nullable) AudioUnit audioUnit

AVAudioMix.h

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

Declaration
From
@property(nonatomic, readonly, retain) MTAudioProcessingTapRef audioTapProcessor
To
@property(nonatomic, readonly, retain, nullable) MTAudioProcessingTapRef audioTapProcessor

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

Declaration
From
- (BOOL)getVolumeRampForTime:(CMTime)time startVolume:(float *)startVolume endVolume:(float *)endVolume timeRange:(CMTimeRange *)timeRange
To
- (BOOL)getVolumeRampForTime:(CMTime)time startVolume:(float * _Nullable)startVolume endVolume:(float * _Nullable)endVolume timeRange:(CMTimeRange * _Nullable)timeRange

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

Declaration
From
@property(nonatomic, retain) MTAudioProcessingTapRef audioTapProcessor
To
@property(nonatomic, retain, nullable) MTAudioProcessingTapRef audioTapProcessor

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

AVAudioMixing.h

AVAudioNode.h

Declaration
From
@property(nonatomic, readonly) AVAudioEngine *engine
To
@property(nonatomic, readonly, nullable) AVAudioEngine *engine

Declaration
From
- (AVAudioFormat *)inputFormatForBus:(AVAudioNodeBus)bus
To
- (AVAudioFormat * _Nonnull)inputFormatForBus:(AVAudioNodeBus)bus

Declaration
From
- (void)installTapOnBus:(AVAudioNodeBus)bus bufferSize:(AVAudioFrameCount)bufferSize format:(AVAudioFormat *)format block:(AVAudioNodeTapBlock)tapBlock
To
- (void)installTapOnBus:(AVAudioNodeBus)bus bufferSize:(AVAudioFrameCount)bufferSize format:(AVAudioFormat * _Nullable)format block:(AVAudioNodeTapBlock _Nonnull)tapBlock

Declaration
From
@property(nonatomic, readonly) AVAudioTime *lastRenderTime
To
@property(nonatomic, readonly, nullable) AVAudioTime *lastRenderTime

Declaration
From
- (NSString *)nameForInputBus:(AVAudioNodeBus)bus
To
- (NSString * _Nonnull)nameForInputBus:(AVAudioNodeBus)bus

Declaration
From
- (NSString *)nameForOutputBus:(AVAudioNodeBus)bus
To
- (NSString * _Nonnull)nameForOutputBus:(AVAudioNodeBus)bus

Declaration
From
- (AVAudioFormat *)outputFormatForBus:(AVAudioNodeBus)bus
To
- (AVAudioFormat * _Nonnull)outputFormatForBus:(AVAudioNodeBus)bus

AVAudioPlayer.h

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

Declaration
From
@property(assign) id<AVAudioPlayerDelegate> delegate
To
@property(assign, nullable) id<AVAudioPlayerDelegate> delegate

Declaration
From
- (instancetype)initWithContentsOfURL:(NSURL *)url error:(NSError **)outError
To
- (instancetype _Nullable)initWithContentsOfURL:(NSURL * _Nonnull)url error:(NSError * _Nullable * _Nullable)outError

Declaration
From
- (instancetype)initWithContentsOfURL:(NSURL *)url fileTypeHint:(NSString *)utiString error:(NSError **)outError
To
- (instancetype _Nullable)initWithContentsOfURL:(NSURL * _Nonnull)url fileTypeHint:(NSString * _Nullable)utiString error:(NSError * _Nullable * _Nullable)outError

Declaration
From
- (instancetype)initWithData:(NSData *)data error:(NSError **)outError
To
- (instancetype _Nullable)initWithData:(NSData * _Nonnull)data error:(NSError * _Nullable * _Nullable)outError

Declaration
From
- (instancetype)initWithData:(NSData *)data fileTypeHint:(NSString *)utiString error:(NSError **)outError
To
- (instancetype _Nullable)initWithData:(NSData * _Nonnull)data fileTypeHint:(NSString * _Nullable)utiString error:(NSError * _Nullable * _Nullable)outError

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

Declaration
From
@property(readonly) NSURL *url
To
@property(readonly, nullable) NSURL *url

Declaration
From
- (void)audioPlayerDecodeErrorDidOccur:(AVAudioPlayer *)player error:(NSError *)error
To
- (void)audioPlayerDecodeErrorDidOccur:(AVAudioPlayer * _Nonnull)player error:(NSError * _Nullable)error

Declaration
From
- (void)audioPlayerDidFinishPlaying:(AVAudioPlayer *)player successfully:(BOOL)flag
To
- (void)audioPlayerDidFinishPlaying:(AVAudioPlayer * _Nonnull)player successfully:(BOOL)flag

AVAudioPlayerNode.h

Declaration
From
- (AVAudioTime *)nodeTimeForPlayerTime:(AVAudioTime *)playerTime
To
- (AVAudioTime * _Nullable)nodeTimeForPlayerTime:(AVAudioTime * _Nonnull)playerTime

Declaration
From
- (void)playAtTime:(AVAudioTime *)when
To
- (void)playAtTime:(AVAudioTime * _Nullable)when

Declaration
From
- (AVAudioTime *)playerTimeForNodeTime:(AVAudioTime *)nodeTime
To
- (AVAudioTime * _Nullable)playerTimeForNodeTime:(AVAudioTime * _Nonnull)nodeTime

Declaration
From
- (void)scheduleBuffer:(AVAudioPCMBuffer *)buffer atTime:(AVAudioTime *)when options:(AVAudioPlayerNodeBufferOptions)options completionHandler:(AVAudioNodeCompletionHandler)completionHandler
To
- (void)scheduleBuffer:(AVAudioPCMBuffer * _Nonnull)buffer atTime:(AVAudioTime * _Nullable)when options:(AVAudioPlayerNodeBufferOptions)options completionHandler:(AVAudioNodeCompletionHandler _Nullable)completionHandler

Declaration
From
- (void)scheduleBuffer:(AVAudioPCMBuffer *)buffer completionHandler:(AVAudioNodeCompletionHandler)completionHandler
To
- (void)scheduleBuffer:(AVAudioPCMBuffer * _Nonnull)buffer completionHandler:(AVAudioNodeCompletionHandler _Nullable)completionHandler

Declaration
From
- (void)scheduleFile:(AVAudioFile *)file atTime:(AVAudioTime *)when completionHandler:(AVAudioNodeCompletionHandler)completionHandler
To
- (void)scheduleFile:(AVAudioFile * _Nonnull)file atTime:(AVAudioTime * _Nullable)when completionHandler:(AVAudioNodeCompletionHandler _Nullable)completionHandler

Declaration
From
- (void)scheduleSegment:(AVAudioFile *)file startingFrame:(AVAudioFramePosition)startFrame frameCount:(AVAudioFrameCount)numberFrames atTime:(AVAudioTime *)when completionHandler:(AVAudioNodeCompletionHandler)completionHandler
To
- (void)scheduleSegment:(AVAudioFile * _Nonnull)file startingFrame:(AVAudioFramePosition)startFrame frameCount:(AVAudioFrameCount)numberFrames atTime:(AVAudioTime * _Nullable)when completionHandler:(AVAudioNodeCompletionHandler _Nullable)completionHandler

AVAudioRecorder.h

Declaration
From
@property(assign) id<AVAudioRecorderDelegate> delegate
To
@property(assign, nullable) id<AVAudioRecorderDelegate> delegate

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

Declaration
From
@property(readonly) NSURL *url
To
@property(readonly, nonnull) NSURL *url

Declaration
From
- (void)audioRecorderDidFinishRecording:(AVAudioRecorder *)recorder successfully:(BOOL)flag
To
- (void)audioRecorderDidFinishRecording:(AVAudioRecorder * _Nonnull)recorder successfully:(BOOL)flag

Declaration
From
- (void)audioRecorderEncodeErrorDidOccur:(AVAudioRecorder *)recorder error:(NSError *)error
To
- (void)audioRecorderEncodeErrorDidOccur:(AVAudioRecorder * _Nonnull)recorder error:(NSError * _Nullable)error

AVAudioSequencer.h (Added)

Added AVAudioSequencer(AVAudioSequencer_Player)

AVAudioTime.h

Declaration
From
- (AVAudioTime *)extrapolateTimeFromAnchor:(AVAudioTime *)anchorTime
To
- (AVAudioTime * _Nonnull)extrapolateTimeFromAnchor:(AVAudioTime * _Nonnull)anchorTime

Declaration
From
- (instancetype)initWithAudioTimeStamp:(const AudioTimeStamp *)ts sampleRate:(double)sampleRate
To
- (instancetype _Nonnull)initWithAudioTimeStamp:(const AudioTimeStamp * _Nonnull)ts sampleRate:(double)sampleRate

Declaration
From
- (instancetype)initWithHostTime:(uint64_t)hostTime
To
- (instancetype _Nonnull)initWithHostTime:(uint64_t)hostTime

Declaration
From
- (instancetype)initWithHostTime:(uint64_t)hostTime sampleTime:(AVAudioFramePosition)sampleTime atRate:(double)sampleRate
To
- (instancetype _Nonnull)initWithHostTime:(uint64_t)hostTime sampleTime:(AVAudioFramePosition)sampleTime atRate:(double)sampleRate

Declaration
From
- (instancetype)initWithSampleTime:(AVAudioFramePosition)sampleTime atRate:(double)sampleRate
To
- (instancetype _Nonnull)initWithSampleTime:(AVAudioFramePosition)sampleTime atRate:(double)sampleRate

Declaration
From
+ (instancetype)timeWithAudioTimeStamp:(const AudioTimeStamp *)ts sampleRate:(double)sampleRate
To
+ (instancetype _Nonnull)timeWithAudioTimeStamp:(const AudioTimeStamp * _Nonnull)ts sampleRate:(double)sampleRate

Declaration
From
+ (instancetype)timeWithHostTime:(uint64_t)hostTime
To
+ (instancetype _Nonnull)timeWithHostTime:(uint64_t)hostTime

Declaration
From
+ (instancetype)timeWithHostTime:(uint64_t)hostTime sampleTime:(AVAudioFramePosition)sampleTime atRate:(double)sampleRate
To
+ (instancetype _Nonnull)timeWithHostTime:(uint64_t)hostTime sampleTime:(AVAudioFramePosition)sampleTime atRate:(double)sampleRate

Declaration
From
+ (instancetype)timeWithSampleTime:(AVAudioFramePosition)sampleTime atRate:(double)sampleRate
To
+ (instancetype _Nonnull)timeWithSampleTime:(AVAudioFramePosition)sampleTime atRate:(double)sampleRate

AVAudioTypes.h

AVAudioUnit.h

Declaration
From
@property(nonatomic, readonly) AudioUnit audioUnit
To
@property(nonatomic, readonly, nonnull) AudioUnit audioUnit

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

Declaration
From
@property(nonatomic, readonly) NSString *manufacturerName
To
@property(nonatomic, readonly, nonnull) NSString *manufacturerName

Declaration
From
@property(nonatomic, readonly) NSString *name
To
@property(nonatomic, readonly, nonnull) NSString *name

AVAudioUnitComponent.h

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

Declaration
From
@property(nonatomic, readonly) AudioComponent audioComponent
To
@property(nonatomic, readonly, nonnull) AudioComponent audioComponent

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

DeclarationDeprecation
From
@property(nonatomic, readonly) NSURL *componentURL
--
To
@property(nonatomic, readonly, nullable) NSURL *componentURL
OS X 10.11

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

Declaration
From
@property(readonly) BOOL hasMIDIInput
To
@property(nonatomic, readonly) BOOL hasMIDIInput

Declaration
From
@property(readonly) BOOL hasMIDIOutput
To
@property(nonatomic, readonly) BOOL hasMIDIOutput

Declaration
From
@property(nonatomic, readonly) NSURL *iconURL
To
@property(nonatomic, readonly, nullable) NSURL *iconURL

Declaration
From
@property(nonatomic, readonly) NSString *localizedTypeName
To
@property(nonatomic, readonly, nonnull) NSString *localizedTypeName

Declaration
From
@property(nonatomic, readonly) NSString *manufacturerName
To
@property(nonatomic, readonly, nonnull) NSString *manufacturerName

Declaration
From
@property(nonatomic, readonly) NSString *name
To
@property(nonatomic, readonly, nonnull) NSString *name

Declaration
From
@property(nonatomic, readonly) NSString *typeName
To
@property(nonatomic, readonly, nonnull) NSString *typeName

Declaration
From
@property(copy) NSArray *userTagNames
To
@property(copy, nonnull) NSArray<NSString *> *userTagNames

Declaration
From
@property(nonatomic, readonly) NSString *versionString
To
@property(nonatomic, readonly, nonnull) NSString *versionString

Declaration
From
- (NSArray *)componentsMatchingDescription:(AudioComponentDescription)desc
To
- (NSArray<AVAudioUnitComponent *> * _Nonnull)componentsMatchingDescription:(AudioComponentDescription)desc

Declaration
From
- (NSArray *)componentsMatchingPredicate:(NSPredicate *)predicate
To
- (NSArray<AVAudioUnitComponent *> * _Nonnull)componentsMatchingPredicate:(NSPredicate * _Nonnull)predicate

Declaration
From
- (NSArray *)componentsPassingTest:(BOOL (^)(AVAudioUnitComponent *comp, BOOL *stop))testHandler
To
- (NSArray<AVAudioUnitComponent *> * _Nonnull)componentsPassingTest:(BOOL (^ _Nonnull)(AVAudioUnitComponent * _Nonnull comp, BOOL * _Nonnull stop))testHandler

Declaration
From
+ (instancetype)sharedAudioUnitComponentManager
To
+ (instancetype _Nonnull)sharedAudioUnitComponentManager

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

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

AVAudioUnitEffect.h

Declaration
From
- (instancetype)initWithAudioComponentDescription:(AudioComponentDescription)audioComponentDescription
To
- (instancetype _Nonnull)initWithAudioComponentDescription:(AudioComponentDescription)audioComponentDescription

AVAudioUnitEQ.h

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

Declaration
From
- (instancetype)initWithNumberOfBands:(NSUInteger)numberOfBands
To
- (instancetype _Nonnull)initWithNumberOfBands:(NSUInteger)numberOfBands

AVAudioUnitGenerator.h

Declaration
From
- (instancetype)initWithAudioComponentDescription:(AudioComponentDescription)audioComponentDescription
To
- (instancetype _Nonnull)initWithAudioComponentDescription:(AudioComponentDescription)audioComponentDescription

AVAudioUnitMIDIInstrument.h

Added #def AVAudioUnitMIDIInstrument_MixingConformance
Protocols
From--
ToAVAudioMixing

Declaration
From
- (instancetype)initWithAudioComponentDescription:(AudioComponentDescription)description
To
- (instancetype _Nonnull)initWithAudioComponentDescription:(AudioComponentDescription)description

Declaration
From
- (void)sendMIDISysExEvent:(NSData *)midiData
To
- (void)sendMIDISysExEvent:(NSData * _Nonnull)midiData

AVAudioUnitSampler.h

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

Declaration
From
- (BOOL)loadInstrumentAtURL:(NSURL *)instrumentURL error:(NSError **)outError
To
- (BOOL)loadInstrumentAtURL:(NSURL * _Nonnull)instrumentURL error:(NSError * _Nullable * _Nullable)outError

Declaration
From
- (BOOL)loadSoundBankInstrumentAtURL:(NSURL *)bankURL program:(uint8_t)program bankMSB:(uint8_t)bankMSB bankLSB:(uint8_t)bankLSB error:(NSError **)outError
To
- (BOOL)loadSoundBankInstrumentAtURL:(NSURL * _Nonnull)bankURL program:(uint8_t)program bankMSB:(uint8_t)bankMSB bankLSB:(uint8_t)bankLSB error:(NSError * _Nullable * _Nullable)outError

AVAudioUnitTimeEffect.h

Declaration
From
- (instancetype)initWithAudioComponentDescription:(AudioComponentDescription)audioComponentDescription
To
- (instancetype _Nonnull)initWithAudioComponentDescription:(AudioComponentDescription)audioComponentDescription

AVBase.h

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

AVCaptureDevice.h

Added AVCaptureDevice(AVCaptureDeviceAuthorization)
Added AVCaptureDevice(AVCaptureDeviceHighDynamicRangeSupport)
Added AVCaptureDevice(AVCaptureDeviceVideoZoom)

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

Declaration
From
- (id)initWithDisplayID:(CGDirectDisplayID)displayID
To
- (instancetype)initWithDisplayID:(CGDirectDisplayID)displayID

Deprecation
From--
ToOS X 10.10

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
- (AVMutableCompositionTrack *)addMutableTrackWithMediaType:(NSString *)mediaType preferredTrackID:(CMPersistentTrackID)preferredTrackID
To
- (AVMutableCompositionTrack * _Nonnull)addMutableTrackWithMediaType:(NSString * _Nonnull)mediaType preferredTrackID:(CMPersistentTrackID)preferredTrackID

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

Declaration
From
- (BOOL)insertTimeRange:(CMTimeRange)timeRange ofAsset:(AVAsset *)asset atTime:(CMTime)startTime error:(NSError **)outError
To
- (BOOL)insertTimeRange:(CMTimeRange)timeRange ofAsset:(AVAsset * _Nonnull)asset atTime:(CMTime)startTime error:(NSError * _Nullable * _Nullable)outError

Declaration
From
- (AVMutableCompositionTrack *)mutableTrackCompatibleWithTrack:(AVAssetTrack *)track
To
- (AVMutableCompositionTrack * _Nullable)mutableTrackCompatibleWithTrack:(AVAssetTrack * _Nonnull)track

Declaration
From
- (void)removeTrack:(AVCompositionTrack *)track
To
- (void)removeTrack:(AVCompositionTrack * _Nonnull)track

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
@property(nonatomic, copy) NSString *extendedLanguageTag
To
@property(nonatomic, copy, nullable) NSString *extendedLanguageTag

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) NSString *languageCode
To
@property(nonatomic, copy, nullable) NSString *languageCode

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

DeclarationDesignated Initializer
From
- (instancetype)initWithTimeRange:(CMTimeRange)timeRange
--
To
- (instancetype _Nonnull)initWithTimeRange:(CMTimeRange)timeRange
yes

DeclarationDesignated Initializer
From
- (instancetype)initWithURL:(NSURL *)URL trackID:(CMPersistentTrackID)trackID sourceTimeRange:(CMTimeRange)sourceTimeRange targetTimeRange:(CMTimeRange)targetTimeRange
--
To
- (instancetype _Nonnull)initWithURL:(NSURL * _Nonnull)URL trackID:(CMPersistentTrackID)trackID sourceTimeRange:(CMTimeRange)sourceTimeRange targetTimeRange:(CMTimeRange)targetTimeRange
yes

Declaration
From
@property(nonatomic, readonly) NSURL *sourceURL
To
@property(nonatomic, readonly, nullable) NSURL *sourceURL

AVError.h

AVMediaFormat.h

AVMediaSelection.h (Added)

AVMediaSelectionGroup.h

Declaration
From
@property(nonatomic, readonly) AVMediaSelectionOption *defaultOption
To
@property(nonatomic, readonly, nullable) AVMediaSelectionOption *defaultOption

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
- (AVMediaSelectionOption *)mediaSelectionOptionWithPropertyList:(id)plist
To
- (AVMediaSelectionOption * _Nullable)mediaSelectionOptionWithPropertyList:(id _Nonnull)plist

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
- (AVMediaSelectionOption *)associatedMediaSelectionOptionInMediaSelectionGroup:(AVMediaSelectionGroup *)mediaSelectionGroup
To
- (AVMediaSelectionOption * _Nullable)associatedMediaSelectionOptionInMediaSelectionGroup:(AVMediaSelectionGroup * _Nonnull)mediaSelectionGroup

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) NSString *displayName
To
@property(nonatomic, readonly, nonnull) NSString *displayName

Declaration
From
- (NSString *)displayNameWithLocale:(NSLocale *)locale
To
- (NSString * _Nonnull)displayNameWithLocale:(NSLocale * _Nonnull)locale

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

Declaration
From
- (BOOL)hasMediaCharacteristic:(NSString *)mediaCharacteristic
To
- (BOOL)hasMediaCharacteristic:(NSString * _Nonnull)mediaCharacteristic

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

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

Declaration
From
@property(nonatomic, readonly) NSString *mediaType
To
@property(nonatomic, readonly, nonnull) NSString *mediaType

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

Declaration
From
- (id)propertyList
To
- (id _Nonnull)propertyList

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
+ (NSString *)identifierForKey:(id)key keySpace:(NSString *)keySpace
To
+ (NSString * _Nullable)identifierForKey:(id _Nonnull)key keySpace:(NSString * _Nonnull)keySpace

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

Declaration
From
+ (id)keyForIdentifier:(NSString *)identifier
To
+ (id _Nullable)keyForIdentifier:(NSString * _Nonnull)identifier

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

Declaration
From
+ (NSString *)keySpaceForIdentifier:(NSString *)identifier
To
+ (NSString * _Nullable)keySpaceForIdentifier:(NSString * _Nonnull)identifier

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
- (AVKeyValueStatus)statusOfValueForKey:(NSString *)key error:(NSError **)outError
To
- (AVKeyValueStatus)statusOfValueForKey:(NSString * _Nonnull)key error:(NSError * _Nullable * _Nullable)outError

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
+ (AVMetadataItemFilter *)metadataItemFilterForSharing
To
+ (AVMetadataItemFilter * _Nonnull)metadataItemFilterForSharing

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
+ (AVMutableMetadataItem *)metadataItem
To
+ (AVMutableMetadataItem * _Nonnull)metadataItem

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

AVMIDIPlayer.h

Declaration
From
- (instancetype)initWithContentsOfURL:(NSURL *)inURL soundBankURL:(NSURL *)bankURL error:(NSError **)outError
To
- (instancetype _Nullable)initWithContentsOfURL:(NSURL * _Nonnull)inURL soundBankURL:(NSURL * _Nullable)bankURL error:(NSError * _Nullable * _Nullable)outError

Declaration
From
- (instancetype)initWithData:(NSData *)data soundBankURL:(NSURL *)bankURL error:(NSError **)outError
To
- (instancetype _Nullable)initWithData:(NSData * _Nonnull)data soundBankURL:(NSURL * _Nullable)bankURL error:(NSError * _Nullable * _Nullable)outError

Declaration
From
- (void)play:(AVMIDIPlayerCompletionHandler)completionHandler
To
- (void)play:(AVMIDIPlayerCompletionHandler _Nullable)completionHandler

AVMovie.h

Added AVFragmentedMovie(AVFragmentedMovieTrackInspection)
Added AVMovie(AVMovieMovieHeaderSupport)
Added AVMovie(AVMovieTrackInspection)
Added AVMutableMovie(AVMutableMovieMetadataEditing)
Added AVMutableMovie(AVMutableMovieMovieLevelEditing)
Added AVMutableMovie(AVMutableMovieTrackInspection)
Added AVMutableMovie(AVMutableMovieTrackLevelEditing)
Protocols
From--
ToAVFragmentMinding

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

Superclasses
FromNSObject
ToAVFragmentedAssetMinder

Declaration
From
- (void)addFragmentedMovie:(AVFragmentedMovie *)movie
To
- (void)addFragmentedMovie:(AVFragmentedMovie * _Nonnull)movie

Declaration
From
+ (instancetype)fragmentedMovieMinderWithMovie:(AVFragmentedMovie *)movie mindingInterval:(NSTimeInterval)mindingInterval
To
+ (instancetype _Nonnull)fragmentedMovieMinderWithMovie:(AVFragmentedMovie * _Nonnull)movie mindingInterval:(NSTimeInterval)mindingInterval

DeclarationDesignated Initializer
From
- (instancetype)initWithMovie:(AVFragmentedMovie *)movie mindingInterval:(NSTimeInterval)mindingInterval
--
To
- (instancetype _Nonnull)initWithMovie:(AVFragmentedMovie * _Nonnull)movie mindingInterval:(NSTimeInterval)mindingInterval
yes

Declaration
From
@property(nonatomic, readonly) NSArray *movies
To
@property(nonatomic, readonly, nonnull) NSArray<AVFragmentedMovie *> *movies

Declaration
From
- (void)removeFragmentedMovie:(AVFragmentedMovie *)movie
To
- (void)removeFragmentedMovie:(AVFragmentedMovie * _Nonnull)movie

Modified AVMovie
Protocols
From--
ToNSCopying, NSMutableCopying

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
+ (NSArray *)movieTypes
To
+ (NSArray<NSString *> * _Nonnull)movieTypes

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

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

Modified AVMovie.URL
Declaration
From
@property(nonatomic, readonly) NSURL *URL
To
@property(nonatomic, readonly, nullable) NSURL *URL

AVMovieTrack.h

Added AVMovieTrack(AVMovieTrackMediaDataStorage)
Added AVMutableMovieTrack(AVMutableMovieTrack_ChunkProperties)
Added AVMutableMovieTrack(AVMutableMovieTrack_LanguageProperties)
Added AVMutableMovieTrack(AVMutableMovieTrack_PropertiesForAudibleCharacteristic)
Added AVMutableMovieTrack(AVMutableMovieTrack_PropertiesForVisualCharacteristic)
Added AVMutableMovieTrack(AVMutableMovieTrack_TrackLevelEditing)
Added AVMutableMovieTrack(AVMutableMovieTrackMetadataEditing)
Added AVMutableMovieTrack(AVMutableMovieTrackTrackAssociations)
Deprecation
From--
ToOS X 10.11

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) NSString *outputFileType
To
@property(nonatomic, readonly, nonnull) NSString *outputFileType

Declaration
From
+ (instancetype)outputSettingsAssistantWithPreset:(NSString *)presetIdentifier
To
+ (instancetype _Nullable)outputSettingsAssistantWithPreset:(NSString * _Nonnull)presetIdentifier

Declaration
From
@property(nonatomic, retain) CMAudioFormatDescriptionRef sourceAudioFormat
To
@property(nonatomic, retain, nullable) CMAudioFormatDescriptionRef sourceAudioFormat

Declaration
From
@property(nonatomic, retain) CMVideoFormatDescriptionRef sourceVideoFormat
To
@property(nonatomic, retain, nullable) CMVideoFormatDescriptionRef sourceVideoFormat

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

AVPlayer.h

Added AVPlayer(AVPlayerExternalPlaybackSupport)
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)addPeriodicTimeObserverForInterval:(CMTime)interval queue:(dispatch_queue_t)queue usingBlock:(void (^)(CMTime time))block
To
- (id _Nonnull)addPeriodicTimeObserverForInterval:(CMTime)interval queue:(dispatch_queue_t _Nullable)queue usingBlock:(void (^ _Nonnull)(CMTime time))block

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

Declaration
From
@property(nonatomic, readonly) AVPlayerItem *currentItem
To
@property(nonatomic, readonly, nullable) AVPlayerItem *currentItem

Declaration
From
@property(nonatomic, readonly) NSError *error
To
@property(nonatomic, readonly, nullable) NSError *error

Declaration
From
- (instancetype)initWithPlayerItem:(AVPlayerItem *)item
To
- (instancetype _Nonnull)initWithPlayerItem:(AVPlayerItem * _Nonnull)item

Declaration
From
- (instancetype)initWithURL:(NSURL *)URL
To
- (instancetype _Nonnull)initWithURL:(NSURL * _Nonnull)URL

Declaration
From
@property(nonatomic, retain) CMClockRef masterClock
To
@property(nonatomic, retain, nullable) CMClockRef masterClock

Declaration
From
- (AVPlayerMediaSelectionCriteria *)mediaSelectionCriteriaForMediaCharacteristic:(NSString *)mediaCharacteristic
To
- (AVPlayerMediaSelectionCriteria * _Nullable)mediaSelectionCriteriaForMediaCharacteristic:(NSString * _Nonnull)mediaCharacteristic

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
- (void)prerollAtRate:(float)rate completionHandler:(void (^)(BOOL finished))completionHandler
To
- (void)prerollAtRate:(float)rate completionHandler:(void (^ _Nullable)(BOOL finished))completionHandler

Declaration
From
- (void)removeTimeObserver:(id)observer
To
- (void)removeTimeObserver:(id _Nonnull)observer

Declaration
From
- (void)replaceCurrentItemWithPlayerItem:(AVPlayerItem *)item
To
- (void)replaceCurrentItemWithPlayerItem:(AVPlayerItem * _Nullable)item

Declaration
From
- (void)seekToDate:(NSDate *)date
To
- (void)seekToDate:(NSDate * _Nonnull)date

Declaration
From
- (void)seekToDate:(NSDate *)date completionHandler:(void (^)(BOOL finished))completionHandler
To
- (void)seekToDate:(NSDate * _Nonnull)date completionHandler:(void (^ _Nonnull)(BOOL finished))completionHandler

Declaration
From
- (void)seekToTime:(CMTime)time completionHandler:(void (^)(BOOL finished))completionHandler
To
- (void)seekToTime:(CMTime)time completionHandler:(void (^ _Nonnull)(BOOL finished))completionHandler

Declaration
From
- (void)seekToTime:(CMTime)time toleranceBefore:(CMTime)toleranceBefore toleranceAfter:(CMTime)toleranceAfter completionHandler:(void (^)(BOOL finished))completionHandler
To
- (void)seekToTime:(CMTime)time toleranceBefore:(CMTime)toleranceBefore toleranceAfter:(CMTime)toleranceAfter completionHandler:(void (^ _Nonnull)(BOOL finished))completionHandler

Declaration
From
- (void)setMediaSelectionCriteria:(AVPlayerMediaSelectionCriteria *)criteria forMediaCharacteristic:(NSString *)mediaCharacteristic
To
- (void)setMediaSelectionCriteria:(AVPlayerMediaSelectionCriteria * _Nullable)criteria forMediaCharacteristic:(NSString * _Nonnull)mediaCharacteristic

Declaration
From
- (BOOL)canInsertItem:(AVPlayerItem *)item afterItem:(AVPlayerItem *)afterItem
To
- (BOOL)canInsertItem:(AVPlayerItem * _Nonnull)item afterItem:(AVPlayerItem * _Nullable)afterItem

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

Declaration
From
- (void)insertItem:(AVPlayerItem *)item afterItem:(AVPlayerItem *)afterItem
To
- (void)insertItem:(AVPlayerItem * _Nonnull)item afterItem:(AVPlayerItem * _Nullable)afterItem

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

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

Declaration
From
- (void)removeItem:(AVPlayerItem *)item
To
- (void)removeItem:(AVPlayerItem * _Nonnull)item

AVPlayerItem.h

Declaration
From
- (AVPlayerItemAccessLog *)accessLog
To
- (AVPlayerItemAccessLog * _Nullable)accessLog

Declaration
From
- (void)addOutput:(AVPlayerItemOutput *)output
To
- (void)addOutput:(AVPlayerItemOutput * _Nonnull)output

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

Declaration
From
@property(nonatomic, copy) AVAudioMix *audioMix
To
@property(nonatomic, copy, nullable) AVAudioMix *audioMix

Declaration
From
@property(nonatomic, copy) NSString *audioTimePitchAlgorithm
To
@property(nonatomic, copy, nonnull) NSString *audioTimePitchAlgorithm

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

Declaration
From
- (NSDate *)currentDate
To
- (NSDate * _Nullable)currentDate

Declaration
From
@property(nonatomic, readonly) id<AVVideoCompositing> customVideoCompositor
To
@property(nonatomic, readonly, nullable) id<AVVideoCompositing> customVideoCompositor

Declaration
From
@property(nonatomic, readonly) NSError *error
To
@property(nonatomic, readonly, nullable) NSError *error

Declaration
From
- (AVPlayerItemErrorLog *)errorLog
To
- (AVPlayerItemErrorLog * _Nullable)errorLog

Declaration
From
- (instancetype)initWithAsset:(AVAsset *)asset
To
- (instancetype _Nonnull)initWithAsset:(AVAsset * _Nonnull)asset

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
- (instancetype)initWithURL:(NSURL *)URL
To
- (instancetype _Nonnull)initWithURL:(NSURL * _Nonnull)URL

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
To
+ (AVPlayerItem * _Nonnull)playerItemWithAsset:(AVAsset * _Nonnull)asset

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

Declaration
From
+ (AVPlayerItem *)playerItemWithURL:(NSURL *)URL
To
+ (AVPlayerItem * _Nonnull)playerItemWithURL:(NSURL * _Nonnull)URL

Declaration
From
- (void)removeOutput:(AVPlayerItemOutput *)output
To
- (void)removeOutput:(AVPlayerItemOutput * _Nonnull)output

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

Declaration
From
- (BOOL)seekToDate:(NSDate *)date
To
- (BOOL)seekToDate:(NSDate * _Nonnull)date

Declaration
From
- (BOOL)seekToDate:(NSDate *)date completionHandler:(void (^)(BOOL finished))completionHandler
To
- (BOOL)seekToDate:(NSDate * _Nonnull)date completionHandler:(void (^ _Nonnull)(BOOL finished))completionHandler

Declaration
From
- (void)seekToTime:(CMTime)time completionHandler:(void (^)(BOOL finished))completionHandler
To
- (void)seekToTime:(CMTime)time completionHandler:(void (^ _Nonnull)(BOOL finished))completionHandler

Declaration
From
- (void)seekToTime:(CMTime)time toleranceBefore:(CMTime)toleranceBefore toleranceAfter:(CMTime)toleranceAfter completionHandler:(void (^)(BOOL finished))completionHandler
To
- (void)seekToTime:(CMTime)time toleranceBefore:(CMTime)toleranceBefore toleranceAfter:(CMTime)toleranceAfter completionHandler:(void (^ _Nonnull)(BOOL finished))completionHandler

Declaration
From
- (AVMediaSelectionOption *)selectedMediaOptionInMediaSelectionGroup:(AVMediaSelectionGroup *)mediaSelectionGroup
To
- (AVMediaSelectionOption * _Nullable)selectedMediaOptionInMediaSelectionGroup:(AVMediaSelectionGroup * _Nonnull)mediaSelectionGroup

Declaration
From
- (void)selectMediaOption:(AVMediaSelectionOption *)mediaSelectionOption inMediaSelectionGroup:(AVMediaSelectionGroup *)mediaSelectionGroup
To
- (void)selectMediaOption:(AVMediaSelectionOption * _Nullable)mediaSelectionOption inMediaSelectionGroup:(AVMediaSelectionGroup * _Nonnull)mediaSelectionGroup

Declaration
From
- (void)selectMediaOptionAutomaticallyInMediaSelectionGroup:(AVMediaSelectionGroup *)mediaSelectionGroup
To
- (void)selectMediaOptionAutomaticallyInMediaSelectionGroup:(AVMediaSelectionGroup * _Nonnull)mediaSelectionGroup

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

Declaration
From
@property(nonatomic, readonly) CMTimebaseRef timebase
To
@property(nonatomic, readonly, nullable) CMTimebaseRef timebase

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, copy) AVVideoComposition *videoComposition
To
@property(nonatomic, copy, nullable) AVVideoComposition *videoComposition

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

Declaration
From
- (NSData *)extendedLogData
To
- (NSData * _Nullable)extendedLogData

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

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

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

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

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

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

Declaration
From
- (NSData *)extendedLogData
To
- (NSData * _Nullable)extendedLogData

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

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

Declaration
From
@property(nonatomic, readonly) NSString *errorDomain
To
@property(nonatomic, readonly, nonnull) NSString *errorDomain

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

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

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

AVPlayerItemOutput.h

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

Declaration
From
@property(nonatomic, readonly) dispatch_queue_t delegateQueue
To
@property(nonatomic, readonly, nullable) dispatch_queue_t delegateQueue

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

Declaration
From
- (void)setDelegate:(id<AVPlayerItemLegibleOutputPushDelegate>)delegate queue:(dispatch_queue_t)delegateQueue
To
- (void)setDelegate:(id<AVPlayerItemLegibleOutputPushDelegate> _Nullable)delegate queue:(dispatch_queue_t _Nullable)delegateQueue

Declaration
From
@property(nonatomic, copy) NSString *textStylingResolution
To
@property(nonatomic, copy, nonnull) NSString *textStylingResolution

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

Declaration
From
@property(nonatomic, readonly) dispatch_queue_t delegateQueue
To
@property(nonatomic, readonly, nullable) dispatch_queue_t delegateQueue

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

Declaration
From
- (void)setDelegate:(id<AVPlayerItemMetadataOutputPushDelegate>)delegate queue:(dispatch_queue_t)delegateQueue
To
- (void)setDelegate:(id<AVPlayerItemMetadataOutputPushDelegate> _Nullable)delegate queue:(dispatch_queue_t _Nullable)delegateQueue

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
- (void)outputMediaDataWillChange:(AVPlayerItemOutput *)sender
To
- (void)outputMediaDataWillChange:(AVPlayerItemOutput * _Nonnull)sender

Declaration
From
- (void)outputSequenceWasFlushed:(AVPlayerItemOutput *)output
To
- (void)outputSequenceWasFlushed:(AVPlayerItemOutput * _Nonnull)output

Declaration
From
- (void)outputSequenceWasFlushed:(AVPlayerItemOutput *)output
To
- (void)outputSequenceWasFlushed:(AVPlayerItemOutput * _Nonnull)output

Declaration
From
- (CVPixelBufferRef)copyPixelBufferForItemTime:(CMTime)itemTime itemTimeForDisplay:(CMTime *)outItemTimeForDisplay
To
- (CVPixelBufferRef _Nullable)copyPixelBufferForItemTime:(CMTime)itemTime itemTimeForDisplay:(CMTime * _Nullable)outItemTimeForDisplay

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

Declaration
From
@property(nonatomic, readonly) dispatch_queue_t delegateQueue
To
@property(nonatomic, readonly, nullable) dispatch_queue_t delegateQueue

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

Declaration
From
- (void)setDelegate:(id<AVPlayerItemOutputPullDelegate>)delegate queue:(dispatch_queue_t)delegateQueue
To
- (void)setDelegate:(id<AVPlayerItemOutputPullDelegate> _Nullable)delegate queue:(dispatch_queue_t _Nullable)delegateQueue

AVPlayerItemProtectedContentAdditions.h

Declaration
From
- (void)requestContentAuthorizationAsynchronouslyWithTimeoutInterval:(NSTimeInterval)timeoutInterval completionHandler:(void (^)(void))handler
To
- (void)requestContentAuthorizationAsynchronouslyWithTimeoutInterval:(NSTimeInterval)timeoutInterval completionHandler:(void (^ _Nonnull)(void))handler

AVPlayerItemTrack.h

Declaration
From
@property(nonatomic, readonly) AVAssetTrack *assetTrack
To
@property(nonatomic, readonly, nonnull) AVAssetTrack *assetTrack

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

AVPlayerLayer.h

Declaration
From
@property(nonatomic, retain) AVPlayer *player
To
@property(nonatomic, retain, nullable) AVPlayer *player

Declaration
From
+ (AVPlayerLayer *)playerLayerWithPlayer:(AVPlayer *)player
To
+ (AVPlayerLayer * _Nonnull)playerLayerWithPlayer:(AVPlayer * _Nullable)player

Declaration
From
@property(copy) NSString *videoGravity
To
@property(copy, nonnull) NSString *videoGravity

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

AVSampleBufferDisplayLayer.h

Declaration
From
@property(retain) CMTimebaseRef controlTimebase
To
@property(retain, nullable) CMTimebaseRef controlTimebase

Declaration
From
- (void)enqueueSampleBuffer:(CMSampleBufferRef)sampleBuffer
To
- (void)enqueueSampleBuffer:(CMSampleBufferRef _Nonnull)sampleBuffer

Declaration
From
@property(nonatomic, readonly) NSError *error
To
@property(nonatomic, readonly, nullable) NSError *error

Declaration
From
- (void)requestMediaDataWhenReadyOnQueue:(dispatch_queue_t)queue usingBlock:(void (^)(void))block
To
- (void)requestMediaDataWhenReadyOnQueue:(dispatch_queue_t _Nonnull)queue usingBlock:(void (^ _Nonnull)(void))block

Declaration
From
@property(copy) NSString *videoGravity
To
@property(copy, nonnull) NSString *videoGravity

AVSampleBufferGenerator.h

Declaration
From
- (CMSampleBufferRef)createSampleBufferForRequest:(AVSampleBufferRequest *)request
To
- (CMSampleBufferRef _Nonnull)createSampleBufferForRequest:(AVSampleBufferRequest * _Nonnull)request

DeclarationDesignated Initializer
From
- (instancetype)initWithAsset:(AVAsset *)asset timebase:(CMTimebaseRef)timebase
--
To
- (instancetype _Nonnull)initWithAsset:(AVAsset * _Nonnull)asset timebase:(CMTimebaseRef _Nullable)timebase
yes

Declaration
From
+ (void)notifyOfDataReadyForSampleBuffer:(CMSampleBufferRef)sbuf completionHandler:(void (^)(BOOL dataReady, NSError *error))completionHandler
To
+ (void)notifyOfDataReadyForSampleBuffer:(CMSampleBufferRef _Nonnull)sbuf completionHandler:(void (^ _Nonnull)(BOOL dataReady, NSError * _Nonnull error))completionHandler

DeclarationDesignated Initializer
From
- (instancetype)initWithStartCursor:(AVSampleCursor *)startCursor
--
To
- (instancetype _Nonnull)initWithStartCursor:(AVSampleCursor * _Nonnull)startCursor
yes

Declaration
From
@property(nonatomic, retain) AVSampleCursor *limitCursor
To
@property(nonatomic, retain, nullable) AVSampleCursor *limitCursor

Declaration
From
@property(nonatomic, retain, readonly) AVSampleCursor *startCursor
To
@property(nonatomic, retain, readonly, nonnull) AVSampleCursor *startCursor

AVSampleCursor.h

Declaration
From
- (NSComparisonResult)comparePositionInDecodeOrderWithPositionOfCursor:(AVSampleCursor *)cursor
To
- (NSComparisonResult)comparePositionInDecodeOrderWithPositionOfCursor:(AVSampleCursor * _Nonnull)cursor

Declaration
From
- (CMFormatDescriptionRef)copyCurrentSampleFormatDescription
To
- (CMFormatDescriptionRef _Nonnull)copyCurrentSampleFormatDescription

Declaration
From
@property(nonatomic, readonly) NSURL *currentChunkStorageURL
To
@property(nonatomic, readonly, nonnull) NSURL *currentChunkStorageURL

Declaration
From
- (BOOL)samplesWithEarlierDecodeTimeStampsMayHaveLaterPresentationTimeStampsThanCursor:(AVSampleCursor *)cursor
To
- (BOOL)samplesWithEarlierDecodeTimeStampsMayHaveLaterPresentationTimeStampsThanCursor:(AVSampleCursor * _Nonnull)cursor

Declaration
From
- (BOOL)samplesWithLaterDecodeTimeStampsMayHaveEarlierPresentationTimeStampsThanCursor:(AVSampleCursor *)cursor
To
- (BOOL)samplesWithLaterDecodeTimeStampsMayHaveEarlierPresentationTimeStampsThanCursor:(AVSampleCursor * _Nonnull)cursor

Declaration
From
- (CMTime)stepByDecodeTime:(CMTime)deltaDecodeTime wasPinned:(BOOL *)outWasPinned
To
- (CMTime)stepByDecodeTime:(CMTime)deltaDecodeTime wasPinned:(BOOL * _Nullable)outWasPinned

Declaration
From
- (CMTime)stepByPresentationTime:(CMTime)deltaPresentationTime wasPinned:(BOOL *)outWasPinned
To
- (CMTime)stepByPresentationTime:(CMTime)deltaPresentationTime wasPinned:(BOOL * _Nullable)outWasPinned

AVSynchronizedLayer.h

Declaration
From
@property(nonatomic, retain) AVPlayerItem *playerItem
To
@property(nonatomic, retain, nullable) AVPlayerItem *playerItem

Declaration
From
+ (AVSynchronizedLayer *)synchronizedLayerWithPlayerItem:(AVPlayerItem *)playerItem
To
+ (AVSynchronizedLayer * _Nonnull)synchronizedLayerWithPlayerItem:(AVPlayerItem * _Nonnull)playerItem

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
@property(nonatomic, readonly) NSString *textSelector
To
@property(nonatomic, readonly, nullable) NSString *textSelector

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

AVTime.h

Declaration
From
- (CMTime)decodeCMTimeForKey:(NSString *)key
To
- (CMTime)decodeCMTimeForKey:(NSString * _Nonnull)key

Declaration
From
- (CMTimeMapping)decodeCMTimeMappingForKey:(NSString *)key
To
- (CMTimeMapping)decodeCMTimeMappingForKey:(NSString * _Nonnull)key

Declaration
From
- (CMTimeRange)decodeCMTimeRangeForKey:(NSString *)key
To
- (CMTimeRange)decodeCMTimeRangeForKey:(NSString * _Nonnull)key

Declaration
From
- (void)encodeCMTime:(CMTime)time forKey:(NSString *)key
To
- (void)encodeCMTime:(CMTime)time forKey:(NSString * _Nonnull)key

Declaration
From
- (void)encodeCMTimeMapping:(CMTimeMapping)timeMapping forKey:(NSString *)key
To
- (void)encodeCMTimeMapping:(CMTimeMapping)timeMapping forKey:(NSString * _Nonnull)key

Declaration
From
- (void)encodeCMTimeRange:(CMTimeRange)timeRange forKey:(NSString *)key
To
- (void)encodeCMTimeRange:(CMTimeRange)timeRange forKey:(NSString * _Nonnull)key

Declaration
From
+ (NSValue *)valueWithCMTime:(CMTime)time
To
+ (NSValue * _Nonnull)valueWithCMTime:(CMTime)time

Declaration
From
+ (NSValue *)valueWithCMTimeMapping:(CMTimeMapping)timeMapping
To
+ (NSValue * _Nonnull)valueWithCMTimeMapping:(CMTimeMapping)timeMapping

Declaration
From
+ (NSValue *)valueWithCMTimeRange:(CMTimeRange)timeRange
To
+ (NSValue * _Nonnull)valueWithCMTimeRange:(CMTimeRange)timeRange

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
- (CMMetadataFormatDescriptionRef)copyFormatDescription
To
- (CMMetadataFormatDescriptionRef _Nullable)copyFormatDescription

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

Declaration
From
- (instancetype)initWithSampleBuffer:(CMSampleBufferRef)sampleBuffer
To
- (instancetype _Nullable)initWithSampleBuffer:(CMSampleBufferRef _Nonnull)sampleBuffer

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
- (void)finishWithComposedVideoFrame:(CVPixelBufferRef)composedVideoFrame
To
- (void)finishWithComposedVideoFrame:(CVPixelBufferRef _Nonnull)composedVideoFrame

Declaration
From
- (void)finishWithError:(NSError *)error
To
- (void)finishWithError:(NSError * _Nonnull)error

Declaration
From
@property(nonatomic, readonly) AVVideoCompositionRenderContext *renderContext
To
@property(nonatomic, readonly, nonnull) AVVideoCompositionRenderContext *renderContext

Declaration
From
- (CVPixelBufferRef)sourceFrameByTrackID:(CMPersistentTrackID)trackID
To
- (CVPixelBufferRef _Nullable)sourceFrameByTrackID:(CMPersistentTrackID)trackID

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

Declaration
From
@property(nonatomic, readonly) id<AVVideoCompositionInstruction> videoCompositionInstruction
To
@property(nonatomic, readonly, nonnull) id<AVVideoCompositionInstruction> videoCompositionInstruction

Declaration
From
- (void)renderContextChanged:(AVVideoCompositionRenderContext *)newRenderContext
To
- (void)renderContextChanged:(AVVideoCompositionRenderContext * _Nonnull)newRenderContext

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
- (void)startVideoCompositionRequest:(AVAsynchronousVideoCompositionRequest *)asyncVideoCompositionRequest
To
- (void)startVideoCompositionRequest:(AVAsynchronousVideoCompositionRequest * _Nonnull)asyncVideoCompositionRequest

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

Declaration
From
- (CVPixelBufferRef)newPixelBuffer
To
- (CVPixelBufferRef _Nullable)newPixelBuffer

Declaration
From
@property(nonatomic, readonly) AVVideoComposition *videoComposition
To
@property(nonatomic, readonly, nonnull) AVVideoComposition *videoComposition

AVVideoComposition.h

Added AVMutableVideoComposition(AVMutableVideoCompositionFiltering)
Added AVVideoComposition(AVVideoCompositionFiltering)
Declaration
From
@property(nonatomic, retain) AVVideoCompositionCoreAnimationTool *animationTool
To
@property(nonatomic, retain, nullable) AVVideoCompositionCoreAnimationTool *animationTool

Declaration
From
@property(nonatomic, retain) Class<AVVideoCompositing> customVideoCompositorClass
To
@property(nonatomic, retain, nullable) Class<AVVideoCompositing> customVideoCompositorClass

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

Declaration
From
+ (AVMutableVideoComposition *)videoComposition
To
+ (AVMutableVideoComposition * _Nonnull)videoComposition

Declaration
From
+ (AVMutableVideoComposition *)videoCompositionWithPropertiesOfAsset:(AVAsset *)asset
To
+ (AVMutableVideoComposition * _Nonnull)videoCompositionWithPropertiesOfAsset:(AVAsset * _Nonnull)asset

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

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, retain) AVVideoCompositionCoreAnimationTool *animationTool
To
@property(nonatomic, readonly, retain, nullable) AVVideoCompositionCoreAnimationTool *animationTool

Declaration
From
@property(nonatomic, readonly) Class<AVVideoCompositing> customVideoCompositorClass
To
@property(nonatomic, readonly, nullable) Class<AVVideoCompositing> customVideoCompositorClass

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

Declaration
From
- (BOOL)isValidForAsset:(AVAsset *)asset timeRange:(CMTimeRange)timeRange validationDelegate:(id<AVVideoCompositionValidationHandling>)validationDelegate
To
- (BOOL)isValidForAsset:(AVAsset * _Nullable)asset timeRange:(CMTimeRange)timeRange validationDelegate:(id<AVVideoCompositionValidationHandling> _Nullable)validationDelegate

Declaration
From
+ (AVVideoComposition *)videoCompositionWithPropertiesOfAsset:(AVAsset *)asset
To
+ (AVVideoComposition * _Nonnull)videoCompositionWithPropertiesOfAsset:(AVAsset * _Nonnull)asset

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

Declaration
From
- (BOOL)getCropRectangleRampForTime:(CMTime)time startCropRectangle:(CGRect *)startCropRectangle endCropRectangle:(CGRect *)endCropRectangle timeRange:(CMTimeRange *)timeRange
To
- (BOOL)getCropRectangleRampForTime:(CMTime)time startCropRectangle:(CGRect * _Nullable)startCropRectangle endCropRectangle:(CGRect * _Nullable)endCropRectangle timeRange:(CMTimeRange * _Nullable)timeRange

Declaration
From
- (BOOL)getOpacityRampForTime:(CMTime)time startOpacity:(float *)startOpacity endOpacity:(float *)endOpacity timeRange:(CMTimeRange *)timeRange
To
- (BOOL)getOpacityRampForTime:(CMTime)time startOpacity:(float * _Nullable)startOpacity endOpacity:(float * _Nullable)endOpacity timeRange:(CMTimeRange * _Nullable)timeRange

Declaration
From
- (BOOL)getTransformRampForTime:(CMTime)time startTransform:(CGAffineTransform *)startTransform endTransform:(CGAffineTransform *)endTransform timeRange:(CMTimeRange *)timeRange
To
- (BOOL)getTransformRampForTime:(CMTime)time startTransform:(CGAffineTransform * _Nullable)startTransform endTransform:(CGAffineTransform * _Nullable)endTransform timeRange:(CMTimeRange * _Nullable)timeRange

Declaration
From
- (BOOL)videoComposition:(AVVideoComposition *)videoComposition shouldContinueValidatingAfterFindingEmptyTimeRange:(CMTimeRange)timeRange
To
- (BOOL)videoComposition:(AVVideoComposition * _Nonnull)videoComposition shouldContinueValidatingAfterFindingEmptyTimeRange:(CMTimeRange)timeRange

Declaration
From
- (BOOL)videoComposition:(AVVideoComposition *)videoComposition shouldContinueValidatingAfterFindingInvalidTimeRangeInInstruction:(id<AVVideoCompositionInstruction>)videoCompositionInstruction
To
- (BOOL)videoComposition:(AVVideoComposition * _Nonnull)videoComposition shouldContinueValidatingAfterFindingInvalidTimeRangeInInstruction:(id<AVVideoCompositionInstruction> _Nonnull)videoCompositionInstruction

Declaration
From
- (BOOL)videoComposition:(AVVideoComposition *)videoComposition shouldContinueValidatingAfterFindingInvalidTrackIDInInstruction:(id<AVVideoCompositionInstruction>)videoCompositionInstruction layerInstruction:(AVVideoCompositionLayerInstruction *)layerInstruction asset:(AVAsset *)asset
To
- (BOOL)videoComposition:(AVVideoComposition * _Nonnull)videoComposition shouldContinueValidatingAfterFindingInvalidTrackIDInInstruction:(id<AVVideoCompositionInstruction> _Nonnull)videoCompositionInstruction layerInstruction:(AVVideoCompositionLayerInstruction * _Nonnull)layerInstruction asset:(AVAsset * _Nonnull)asset

Declaration
From
- (BOOL)videoComposition:(AVVideoComposition *)videoComposition shouldContinueValidatingAfterFindingInvalidValueForKey:(NSString *)key
To
- (BOOL)videoComposition:(AVVideoComposition * _Nonnull)videoComposition shouldContinueValidatingAfterFindingInvalidValueForKey:(NSString * _Nonnull)key