---
title: objectValue
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nscell/objectvalue
---

# objectValue

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

## Declaration

```swift
var objectValue: Any? { get set }
```

## Discussion

Discussion To be valid object value, the cell must have a formatter capable of converting the object to and from its textual representation. The value of this property is nil if an object has not been assigned to the cell.

## See Also

### Managing Cell Values

- [hasValidObjectValue](appkit/nscell/hasvalidobjectvalue.md)
- [intValue](appkit/nscell/intvalue.md)
- [integerValue](appkit/nscell/integervalue.md)
- [stringValue](appkit/nscell/stringvalue.md)
- [doubleValue](appkit/nscell/doublevalue.md)
- [floatValue](appkit/nscell/floatvalue.md)
