tokenField(_:hasMenuForRepresentedObject:)
Allows the delegate to specify whether the given represented object provides a menu.
Declaration
@MainActor optional func tokenField(_ tokenField: NSTokenField, hasMenuForRepresentedObject representedObject: Any) -> BoolParameters
- tokenField:
The token field that sent the message.
- representedObject:
A represented object of the token field.
Return Value
Discussion
By default tokens in a token field have no menus.