Class

NSTokenFieldCell

A text field cell subclass that enables tokenized editing of an array of objects.

Declaration

@interface NSTokenFieldCell : NSTextFieldCell

Overview

NSTokenFieldCell is a subclass of NSTextFieldCell that provides tokenized editing of an array of objects similar to the address field in the Mail app. The objects may be strings or objects that can be represented as strings. A single token field cell can be presented in an NSTokenField control.

Topics

Managing the Token Style

tokenStyle

The token style of the receiver.

Managing the Tokenizing Character Set

defaultTokenizingCharacterSet

Returns the default tokenizing character set.

tokenizingCharacterSet

The receiver’s tokenizing character set to a given character set.

Configuring the Completion Delay

completionDelay

The receiver’s completion delay to a given delay.

defaultCompletionDelay

Returns the default completion delay.

Managing the Delegate

delegate

The receiver’s delegate.

Constants

NSTokenStyle

The NSTokenStyle constants define how tokens are displayed and editable in the NSTokenFieldCell. These values are used by tokenStyle and the delegate method tokenFieldCell:styleForRepresentedObject:.

Relationships

Inherits From

See Also

Cell

NSTokenFieldCellDelegate

A set of optional methods implemented by delegates of NSTokenFieldCell objects to work with tokenized strings.