Instance Method


Returns a dictionary describing the receiver’s binding.


- (NSDictionary<NSBindingInfoKey, id> *)infoForBinding:(NSBindingName)binding;



The name of a binding.

Return Value

A dictionary with information about binding, or nil if the binding is not bound. The dictionary contains three key/value pairs: NSObservedObjectKey: object bound, NSObservedKeyPathKey: key path bound, NSOptionsKey: dictionary with the options and their values for the bindings.


This method is mostly for use by subclasses which want to analyze the existing bindings of an object.

See Also

Managing bindings

- valueClassForBinding:

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

- bind:toObject:withKeyPath:options:

Establishes a binding between a given property of the receiver and the property of a given object specified by a given key path.

- optionDescriptionsForBinding:

Returns an array describing the options for the specified binding.

- unbind:

Removes a given binding between the receiver and a controller.


Tests whether a given object is special marker object used for indicating the state of a selection in relation to a key.