Initializer

init()

Initializes a new paste configuration.

Declaration

init()

Return Value

A paste configuration that has no acceptable uniform type identifiers (UTIs).

Discussion

Use this initializer to create a paste configuration that has an empty acceptableTypeIdentifiers array. After you create the paste configuration, you can use its addAcceptableTypeIdentifiers(_:) method or addTypeIdentifiers(forAccepting:) method to add acceptable UTIs to the array.

See Also

Initializing a Paste Configuration

init(acceptableTypeIdentifiers: [String])

Initializes a new paste configuration with a specified array of acceptable UTIs.

init(forAccepting: NSItemProviderReading.Type)

Initializes a new paste configuration with the UTIs declared as supported by a specified class.