Instance Method


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


- (void)bind:(NSBindingName)binding toObject:(id)observable withKeyPath:(NSString *)keyPath options:(NSDictionary<NSBindingOption, id> *)options;



The key path for a property of the receiver previously exposed using the exposeBinding: method.


The bound-to object.


A key path to a property reachable from observableController. The elements in the path must be key-value observing compliant (see Key-Value Observing Programming Guide).


A dictionary containing options for the binding, such as placeholder objects or an NSValueTransformer identifier as described in Constants. This value is optional—pass nil to specify no options.

See Also

Managing bindings

- valueClassForBinding:

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

- optionDescriptionsForBinding:

Returns an array describing the options for the specified binding.

- infoForBinding:

Returns a dictionary describing the receiver’s 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.