---
title: NSTokenFieldCell
framework: appkit
role: symbol
role_heading: Class
path: appkit/nstokenfieldcell
---

# NSTokenFieldCell

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

## Declaration

```swift
class NSTokenFieldCell
```

## Overview

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](appkit/nstokenfieldcell/tokenstyle.md)

### Managing the Tokenizing Character Set

- [defaultTokenizingCharacterSet](appkit/nstokenfieldcell/defaulttokenizingcharacterset.md)
- [tokenizingCharacterSet](appkit/nstokenfieldcell/tokenizingcharacterset.md)

### Configuring the Completion Delay

- [completionDelay](appkit/nstokenfieldcell/completiondelay.md)
- [defaultCompletionDelay](appkit/nstokenfieldcell/defaultcompletiondelay.md)

### Managing the Delegate

- [delegate](appkit/nstokenfieldcell/delegate.md)

### Constants

- [NSTokenField.TokenStyle](appkit/nstokenfield/tokenstyle-swift.enum.md)

## Relationships

### Inherits From

- [NSTextFieldCell](appkit/nstextfieldcell.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSAccessibilityElementProtocol](appkit/nsaccessibilityelementprotocol.md)
- [NSAccessibilityProtocol](appkit/nsaccessibilityprotocol.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSUserInterfaceItemIdentification](appkit/nsuserinterfaceitemidentification.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Cell

- [NSTokenFieldCellDelegate](appkit/nstokenfieldcelldelegate.md)
