---
title: "tokenFieldCell(_:readFrom:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nstokenfieldcelldelegate/tokenfieldcell(_:readfrom:)"
---

# tokenFieldCell(_:readFrom:)

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

## Declaration

```swift
@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

Return Value An array of represented objects created from the pasteboard data.

## See Also

### Reading To and Writing From the Pasteboard

- [tokenFieldCell(_:writeRepresentedObjects:to:)](appkit/nstokenfieldcelldelegate/tokenfieldcell(_:writerepresentedobjects:to:).md)
