Contents

init(forAccepting:)

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

Declaration

convenience init(forAccepting aClass: any NSItemProviderReading.Type)

Parameters

Return Value

A paste configuration initialized with acceptable uniform type identifiers (UTIs) supported by the specified class.

Discussion

When you use this initializer, the property readableTypeIdentifiersForItemProvider, implemented on aClass, is used to determine the acceptable UTIs.

See Also

Initializing a paste configuration