Instance Method


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


- (instancetype)initWithAcceptableTypeIdentifiers:(NSArray<NSString *> *)acceptableTypeIdentifiers;



An array of uniform type identifier (UTI) strings.

Return Value

A paste configuration that is initialized with the specified UTI strings.


Specify the acceptable UTIs in descending order of fidelity. The UTI that provides the richest data representation should be first in the list. For instance, if the data to paste is contact information, list the vCard UTI first, followed by the plain text UTI.

See Also

Initializing a Paste Configuration

- init

Initializes a new paste configuration.

- initWithTypeIdentifiersForAcceptingClass:

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