Instance Property

representedObject

The object represented by the cell.

Declaration

@property(strong) id representedObject;

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 object.

Special Considerations

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

See Also