Initializer

init()

Instantiates an empty item provider to which you can later register a data or file representation.

Declaration

init()

See Also

Initializing an Item Provider

init?(contentsOf: URL!)

Provides data backed by the contents of an existing file. The system uses the URL’s filename extension to select an appropriate UTI.

init(item: NSSecureCoding?, typeIdentifier: String?)

Initializes an item provider with an object, according to the NSItemProvider type coercion policy.

init(object: NSItemProviderWriting)

Initializes a new item provider, employing a specified object’s type identifiers to specify the data representations eligible to be loaded by the provider.