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

# takeStringValueFrom(_:)

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

## Declaration

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

## Parameters

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

## See Also

### Related Documentation

- [stringValue](appkit/nscell/stringvalue.md)

### Deriving Values

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