<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSTokenFieldCellDelegate/tokenFieldCell(_:readFrom:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(pl)NSTokenFieldCellDelegate(im)tokenFieldCell:readFromPasteboard:"
  },
  "title" : "tokenFieldCell(_:readFrom:)"
}
-->

# tokenFieldCell(_:readFrom:)

Allows the delegate to return an array of objects representing the data read from `pboard`.

```
@MainActor optional func tokenFieldCell(_ tokenFieldCell: NSTokenFieldCell, readFrom pboard: NSPasteboard) -> [Any]?
```

## Parameters

`tokenFieldCell`

The token field cell that sent the message.

`pboard`

The pasteboard from which to read the represented objects.

## Return Value

An array of represented objects created from the pasteboard data.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)