<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSCell/representedObject",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSCell(py)representedObject"
  },
  "title" : "representedObject"
}
-->

# representedObject

The object represented by the cell.

```
var representedObject: Any? { get set }
```

## Discussion

Use this property to link the cell an appropriate object. For example, in a pop-up list of color names, the represented object of each cell could be the appropriate [`NSColor`](/documentation/AppKit/NSColor) object.

### Special Considerations

When you copy an `NSCell` object, the value of this property is set to `nil` in the copy.

## See Also

[`var objectValue: Any?`](/documentation/AppKit/NSCell/objectValue)

The cell’s value as an Objective-C object.



---

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)