Represented objects are objects an NSCell stands for. (They’re not to be confused with an NSCell’s object value, which is the value of the cell.) By setting a represented object for an NSCell (using setRepresentedObject:
) you make an association between the NSCell and that object. For instance, you could have a pop-up list, each cell of which lists a color as its title; when the user selects a cell, the represented NSColor object is displayed in a color well. This feature is solely for the developer’s convenience. The cell itself does not use the represented object, except to archive and restore it.
© 2008 Apple Inc. All Rights Reserved. (Last updated: 2008-10-15)