diff --git a/Classes/SBDocument.h b/Classes/SBDocument.h index bc82272..fc11aec 100755 --- a/Classes/SBDocument.h +++ b/Classes/SBDocument.h @@ -16,7 +16,7 @@ NS_ASSUME_NONNULL_BEGIN @property (nonatomic, strong) MP42File *mp4; -- (instancetype)initWithMP4:(MP42File *)mp4File error:(NSError **)outError; +- (instancetype)initWithMP4:(MP42File *)mp4File error:(NSError * __autoreleasing *)outError; @property (nonatomic, strong, nullable) NSWindowController *sheetController; diff --git a/Classes/SBFileImport.h b/Classes/SBFileImport.h index e540640..364d14f 100755 --- a/Classes/SBFileImport.h +++ b/Classes/SBFileImport.h @@ -20,7 +20,7 @@ NS_ASSUME_NONNULL_BEGIN @interface SBFileImport : NSWindowController - (instancetype)init NS_UNAVAILABLE; -- (nullable instancetype)initWithURLs:(NSArray *)fileURLs delegate:(id )delegate error:(NSError **)error; +- (nullable instancetype)initWithURLs:(NSArray *)fileURLs delegate:(id )delegate error:(NSError * __autoreleasing *)error; - (IBAction)closeWindow:(id)sender; - (IBAction)addTracks:(id)sender; diff --git a/Classes/SBQueueItem.h b/Classes/SBQueueItem.h index 191149c..cbc55eb 100755 --- a/Classes/SBQueueItem.h +++ b/Classes/SBQueueItem.h @@ -46,8 +46,8 @@ typedef NS_ENUM(NSUInteger, SBQueueItemStatus) { - (void)addAction:(id)action; - (void)removeAction:(id)action; -- (BOOL)prepare:(NSError **)outError; -- (BOOL)processWithOptions:(BOOL)optimize error:(NSError **)outError; +- (BOOL)prepare:(NSError * __autoreleasing *)outError; +- (BOOL)processWithOptions:(BOOL)optimize error:(NSError * __autoreleasing *)outError; - (void)cancel; @end