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

# optionDescriptionsForBinding(_:)

Returns an array describing the options for the specified binding.

## Declaration

```swift
func optionDescriptionsForBinding(_ binding: NSBindingName) -> [NSAttributeDescription]
```

## Parameters

- `binding`: The name of a binding

## Return Value

Return Value Returns an array of NSAttributeDescription that describe the options for binding.

## Discussion

Discussion The NSAttributeDescription instances in the array are used by Interface Builder to build the options editor user interface of the bindings inspector. The option name displayed for the option in the bindings inspector is based on the value of the NSAttributeDescription method name. The type of editor displayed for the option in the bindings inspector is based on the value of the  NSAttributeDescription method attributeType. The default value displayed in the bindings inspector for the option is based on the value of the NSAttributeDescription method defaultValue.

## See Also

### Managing bindings

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