Structure

NSBindingInfoKey

No overview available.

Declaration

struct NSBindingInfoKey

Topics

Type Properties

static let observedKeyPath: NSBindingInfoKey

An NSString object containing the key path of the binding.

static let observedObject: NSBindingInfoKey

The object that is the observable controller of the binding.

static let options: NSBindingInfoKey

An NSDictionary object containing key value pairs as specified in the options dictionary when the binding was created.

Relationships

See Also

Managing bindings

func valueClassForBinding(NSBindingName) -> AnyClass?

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

func bind(NSBindingName, to: Any, withKeyPath: String, options: [NSBindingOption : Any]?)

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

func optionDescriptionsForBinding(NSBindingName) -> [NSAttributeDescription]

Returns an array describing the options for the specified binding.

func infoForBinding(NSBindingName) -> [NSBindingInfoKey : Any]?

Returns a dictionary describing the receiver’s binding.

func unbind(NSBindingName)

Removes a given binding between the receiver and a controller.

func NSIsControllerMarker(Any?) -> Bool

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