---
title: "valueClassForBinding(_:)"
framework: objectivec
role: symbol
role_heading: Instance Method
path: "objectivec/nsobject-swift.class/valueclassforbinding(_:)"
---

# valueClassForBinding(_:)

Returns the class of the value that will be returned for the specified binding.

## Declaration

```swift
func valueClassForBinding(_ binding: NSBindingName) -> AnyClass?
```

## Parameters

- `binding`: The name of a binding.

## Return Value

Return Value The class of the value that will be returned for binding.

## Discussion

Discussion This method is used by Interface Builder to determine the appropriate transformers for a binding. Implementation of this method is optional.

## See Also

### Managing bindings

- [bind(_:to:withKeyPath:options:)](objectivec/nsobject-swift.class/bind(_:to:withkeypath:options:).md)
- [optionDescriptionsForBinding(_:)](objectivec/nsobject-swift.class/optiondescriptionsforbinding(_:).md)
- [infoForBinding(_:)](objectivec/nsobject-swift.class/infoforbinding(_:).md)
- [NSBindingInfoKey](appkit/nsbindinginfokey.md)
- [unbind(_:)](objectivec/nsobject-swift.class/unbind(_:).md)
- [NSIsControllerMarker(_:)](appkit/nsiscontrollermarker(_:).md)
