The value of the receiver’s cell as an Objective-C object.
SDK
- macOS 10.0+
Framework
- App
Kit
Declaration
@property(copy) id objectValue;
Discussion
If the control contains many cells (for example, NSMatrix
), then this property contains the value of the currently selected cell. If the control is in the process of editing the affected cell, then it invokes the validate
method before getting the value.
If the cell is being edited, setting this property aborts all editing before setting the value. If the cell does not inherit from NSAction
, setting this property marks the cell’s interior as needing to be redisplayed; NSAction
performs its own updating of cells.