Instance Method

initWithFileType:delegate:

Initializes a file promise provider for a certain file type.

Declaration

- (instancetype)initWithFileType:(NSString *)fileType delegate:(id<NSFilePromiseProviderDelegate>)delegate;

Parameters

fileType

A string describing the file type.

delegate

An object that conforms to the NSFilePromiseProviderDelegate protocol, for providing promised file data.