Instance Property

integerValue

The value of the receiver’s cell as an NSInteger value.

Declaration

@property NSInteger integerValue;

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 validateEditing 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 NSActionCell, setting this property marks the cell’s interior as needing to be redisplayed; NSActionCell performs its own updating of cells.

See Also

Accessing the Control’s Value

doubleValue

The value of the receiver’s cell as a double-precision floating-point number.

floatValue

The value of the receiver’s cell as a single-precision floating-point number.

intValue

The value of the receiver’s cell as an integer.

objectValue

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

stringValue

The value of the receiver’s cell as an NSString object.

attributedStringValue

The value of the receiver’s cell as an attributed string.