Initializer

init(fileType:delegate:)

Initializes a file promise provider for a certain file type.

Declaration

convenience init(fileType: String, delegate: NSFilePromiseProviderDelegate)

Parameters

fileType

A string describing the file type.

delegate

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