---
title: "takeIntValueFrom(_:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nscell/takeintvaluefrom(_:)"
---

# takeIntValueFrom(_:)

Sets the value of the receiver’s cell to an integer value obtained from the specified object.

## Declaration

```swift
func takeIntValueFrom(_ sender: Any?)
```

## Parameters

- `sender`: The object from which to take the value. This object must implement the doc://com.apple.appkit/documentation/AppKit/NSCell/intValue property.

## Discussion

Discussion Use the takeIntegerValueFrom(_:) method instead.

## See Also

### Related Documentation

- [integerValue](appkit/nscell/integervalue.md)

### Deriving Values

- [takeObjectValueFrom(_:)](appkit/nscell/takeobjectvaluefrom(_:).md)
- [takeIntegerValueFrom(_:)](appkit/nscell/takeintegervaluefrom(_:).md)
- [takeStringValueFrom(_:)](appkit/nscell/takestringvaluefrom(_:).md)
- [takeDoubleValueFrom(_:)](appkit/nscell/takedoublevaluefrom(_:).md)
- [takeFloatValueFrom(_:)](appkit/nscell/takefloatvaluefrom(_:).md)
