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