---
title: intValue
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nscontrol/intvalue
---

# intValue

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

## Declaration

```swift
var intValue: Int32 { get set }
```

## Discussion

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](appkit/nscontrol/doublevalue.md)
- [floatValue](appkit/nscontrol/floatvalue.md)
- [integerValue](appkit/nscontrol/integervalue.md)
- [objectValue](appkit/nscontrol/objectvalue.md)
- [stringValue](appkit/nscontrol/stringvalue.md)
- [attributedStringValue](appkit/nscontrol/attributedstringvalue.md)
