Instance Method

tokenFieldCell:displayStringForRepresentedObject:

Allows the delegate to provide a string to be displayed as a proxy for the represented object.

Declaration

- (NSString *)tokenFieldCell:(NSTokenFieldCell *)tokenFieldCell displayStringForRepresentedObject:(id)representedObject;

Parameters

tokenFieldCell

The token field cell that sent the message.

representedObject

A represented object of the token field cell.

Return Value

The string to be used as a proxy for representedObject. If you return nil or do not implement this method, then representedObject is displayed as the string.

See Also

Displaying Tokenized Strings

- tokenFieldCell:styleForRepresentedObject:

Allows the delegate to return the token style for editing the specified represented object.