tokenField(_:readFrom:)
Allows the delegate to return an array of objects representing the data read from the specified pasteboard.
Declaration
@MainActor optional func tokenField(_ tokenField: NSTokenField, readFrom pboard: NSPasteboard) -> [Any]?Parameters
- tokenField:
The token field that sent the message.
- pboard:
The pasteboard from which to read the represented objects.
Return Value
An array of represented objects created from the pasteboard data.