Documentation Archive Developer
Search

AVFoundation Changes

AVFoundation

AVAsset.h
Declaration
From
- (id)initWithURL:(NSURL *)URL options:(NSDictionary *)options
To
- (instancetype)initWithURL:(NSURL *)URL options:(NSDictionary *)options

AVAssetExportSession.h
Declaration
From
- (id)initWithAsset:(AVAsset *)asset presetName:(NSString *)presetName
To
- (instancetype)initWithAsset:(AVAsset *)asset presetName:(NSString *)presetName

AVAssetImageGenerator.h
Declaration
From
- (id)initWithAsset:(AVAsset *)asset
To
- (instancetype)initWithAsset:(AVAsset *)asset

AVAssetReader.h
Declaration
From
+ (AVAssetReader *)assetReaderWithAsset:(AVAsset *)asset error:(NSError **)outError
To
+ (instancetype)assetReaderWithAsset:(AVAsset *)asset error:(NSError **)outError

Declaration
From
- (id)initWithAsset:(AVAsset *)asset error:(NSError **)outError
To
- (instancetype)initWithAsset:(AVAsset *)asset error:(NSError **)outError

AVAssetReaderOutput.h
Declaration
From
+ (AVAssetReaderAudioMixOutput *)assetReaderAudioMixOutputWithAudioTracks:(NSArray *)audioTracks audioSettings:(NSDictionary *)audioSettings
To
+ (instancetype)assetReaderAudioMixOutputWithAudioTracks:(NSArray *)audioTracks audioSettings:(NSDictionary *)audioSettings

Declaration
From
- (id)initWithAudioTracks:(NSArray *)audioTracks audioSettings:(NSDictionary *)audioSettings
To
- (instancetype)initWithAudioTracks:(NSArray *)audioTracks audioSettings:(NSDictionary *)audioSettings

Declaration
From
+ (AVAssetReaderTrackOutput *)assetReaderTrackOutputWithTrack:(AVAssetTrack *)track outputSettings:(NSDictionary *)outputSettings
To
+ (instancetype)assetReaderTrackOutputWithTrack:(AVAssetTrack *)track outputSettings:(NSDictionary *)outputSettings

Declaration
From
- (id)initWithTrack:(AVAssetTrack *)track outputSettings:(NSDictionary *)outputSettings
To
- (instancetype)initWithTrack:(AVAssetTrack *)track outputSettings:(NSDictionary *)outputSettings

Declaration
From
+ (AVAssetReaderVideoCompositionOutput *)assetReaderVideoCompositionOutputWithVideoTracks:(NSArray *)videoTracks videoSettings:(NSDictionary *)videoSettings
To
+ (instancetype)assetReaderVideoCompositionOutputWithVideoTracks:(NSArray *)videoTracks videoSettings:(NSDictionary *)videoSettings

Declaration
From
- (id)initWithVideoTracks:(NSArray *)videoTracks videoSettings:(NSDictionary *)videoSettings
To
- (instancetype)initWithVideoTracks:(NSArray *)videoTracks videoSettings:(NSDictionary *)videoSettings

AVAssetWriter.h
Declaration
From
+ (AVAssetWriter *)assetWriterWithURL:(NSURL *)outputURL fileType:(NSString *)outputFileType error:(NSError **)outError
To
+ (instancetype)assetWriterWithURL:(NSURL *)outputURL fileType:(NSString *)outputFileType error:(NSError **)outError

Declaration
From
- (id)initWithURL:(NSURL *)outputURL fileType:(NSString *)outputFileType error:(NSError **)outError
To
- (instancetype)initWithURL:(NSURL *)outputURL fileType:(NSString *)outputFileType error:(NSError **)outError

Declaration
From
- (id)initWithInputs:(NSArray *)inputs defaultInput:(AVAssetWriterInput *)defaultInput
To
- (instancetype)initWithInputs:(NSArray *)inputs defaultInput:(AVAssetWriterInput *)defaultInput

AVAssetWriterInput.h
Declaration
From
- (id)initWithMediaType:(NSString *)mediaType outputSettings:(NSDictionary *)outputSettings
To
- (instancetype)initWithMediaType:(NSString *)mediaType outputSettings:(NSDictionary *)outputSettings

Declaration
From
- (id)initWithMediaType:(NSString *)mediaType outputSettings:(NSDictionary *)outputSettings sourceFormatHint:(CMFormatDescriptionRef)sourceFormatHint
To
- (instancetype)initWithMediaType:(NSString *)mediaType outputSettings:(NSDictionary *)outputSettings sourceFormatHint:(CMFormatDescriptionRef)sourceFormatHint

Declaration
From
+ (AVAssetWriterInputPixelBufferAdaptor *)assetWriterInputPixelBufferAdaptorWithAssetWriterInput:(AVAssetWriterInput *)input sourcePixelBufferAttributes:(NSDictionary *)sourcePixelBufferAttributes
To
+ (instancetype)assetWriterInputPixelBufferAdaptorWithAssetWriterInput:(AVAssetWriterInput *)input sourcePixelBufferAttributes:(NSDictionary *)sourcePixelBufferAttributes

Declaration
From
- (id)initWithAssetWriterInput:(AVAssetWriterInput *)input sourcePixelBufferAttributes:(NSDictionary *)sourcePixelBufferAttributes
To
- (instancetype)initWithAssetWriterInput:(AVAssetWriterInput *)input sourcePixelBufferAttributes:(NSDictionary *)sourcePixelBufferAttributes

AVAudioPlayer.h
Declaration
From
- (id)initWithContentsOfURL:(NSURL *)url error:(NSError **)outError
To
- (instancetype)initWithContentsOfURL:(NSURL *)url error:(NSError **)outError

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

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

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

Optional
From--
Toyes

Optional
From--
Toyes

AVAudioRecorder.h
Declaration
From
- (id)initWithURL:(NSURL *)url settings:(NSDictionary *)settings error:(NSError **)outError
To
- (instancetype)initWithURL:(NSURL *)url settings:(NSDictionary *)settings error:(NSError **)outError

Optional
From--
Toyes

Optional
From--
Toyes

AVAudioUnitComponent.h (Added)
AVAudioUnitVarispeed.h (Added)
AVCaptureOutput.h
AVCompositionTrackSegment.h
Declaration
From
- (id)initWithTimeRange:(CMTimeRange)timeRange
To
- (instancetype)initWithTimeRange:(CMTimeRange)timeRange

Declaration
From
- (id)initWithURL:(NSURL *)URL trackID:(CMPersistentTrackID)trackID sourceTimeRange:(CMTimeRange)sourceTimeRange targetTimeRange:(CMTimeRange)targetTimeRange
To
- (instancetype)initWithURL:(NSURL *)URL trackID:(CMPersistentTrackID)trackID sourceTimeRange:(CMTimeRange)sourceTimeRange targetTimeRange:(CMTimeRange)targetTimeRange

AVMediaSelectionGroup.h
AVMetadataIdentifiers.h (Added)
AVMetadataItem.h
Added AVMetadataItem(AVMetadataItemArrayFilteringDeprecable)
Added AVMetadataItem(AVMetadataItemKeyAndKeyspace)
Added AVMutableMetadataItem(AVMutableMetadataItemKeyAndKeyspace)
AVPlayer.h
Declaration
From
- (id)initWithPlayerItem:(AVPlayerItem *)item
To
- (instancetype)initWithPlayerItem:(AVPlayerItem *)item

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

Declaration
From
- (id)initWithItems:(NSArray *)items
To
- (instancetype)initWithItems:(NSArray *)items

AVPlayerItem.h
Declaration
From
- (id)initWithAsset:(AVAsset *)asset
To
- (instancetype)initWithAsset:(AVAsset *)asset

Declaration
From
- (id)initWithAsset:(AVAsset *)asset automaticallyLoadedAssetKeys:(NSArray *)automaticallyLoadedAssetKeys
To
- (instancetype)initWithAsset:(AVAsset *)asset automaticallyLoadedAssetKeys:(NSArray *)automaticallyLoadedAssetKeys

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

AVPlayerItemOutput.h
Declaration
From
- (id)initWithMediaSubtypesForNativeRepresentation:(NSArray *)subtypes
To
- (instancetype)initWithMediaSubtypesForNativeRepresentation:(NSArray *)subtypes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Declaration
From
- (id)initWithPixelBufferAttributes:(NSDictionary *)pixelBufferAttributes
To
- (instancetype)initWithPixelBufferAttributes:(NSDictionary *)pixelBufferAttributes

AVPlayerMediaSelectionCriteria.h
Declaration
From
- (id)initWithPreferredLanguages:(NSArray *)preferredLanguages preferredMediaCharacteristics:(NSArray *)preferredMediaCharacteristics
To
- (instancetype)initWithPreferredLanguages:(NSArray *)preferredLanguages preferredMediaCharacteristics:(NSArray *)preferredMediaCharacteristics

AVTextStyleRule.h
Declaration
From
- (id)initWithTextMarkupAttributes:(NSDictionary *)textMarkupAttributes
To
- (instancetype)initWithTextMarkupAttributes:(NSDictionary *)textMarkupAttributes

Declaration
From
- (id)initWithTextMarkupAttributes:(NSDictionary *)textMarkupAttributes textSelector:(NSString *)textSelector
To
- (instancetype)initWithTextMarkupAttributes:(NSDictionary *)textMarkupAttributes textSelector:(NSString *)textSelector

AVTimedMetadataGroup.h
Added AVTimedMetadataGroup(AVTimedMetadataGroupSerializationSupport)
Declaration
From
- (id)initWithItems:(NSArray *)items timeRange:(CMTimeRange)timeRange
To
- (instancetype)initWithItems:(NSArray *)items timeRange:(CMTimeRange)timeRange

AVVideoCompositing.h
AVVideoComposition.h
Declaration
From
@property(nonatomic, retain) Class<AVVideoCompositing> *customVideoCompositorClass
To
@property(nonatomic, retain) Class<AVVideoCompositing> customVideoCompositorClass

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

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes