Type Alias

NSBindingOption

Values that are used as keys in the options dictionary passed to the bind:toObject:withKeyPath:options: method.

Declaration

typedef NSString *NSBindingOption;

Discussion

These keys are also used in the dictionary returned as the NSOptionsKey value of infoForBinding:. See the Cocoa Bindings Reference for more information.

Topics

Binding Options

NSAllowsEditingMultipleValuesSelectionBindingOption

An NSNumber object containing a Boolean value that determines if the binding allows editing when the value represents a multiple selection.

NSAllowsNullArgumentBindingOption

An NSNumber object containing a Boolean value that determines if the argument bindings allows passing argument values of nil.

NSAlwaysPresentsApplicationModalAlertsBindingOption

A number containing a Boolean value that determines if validation and error alert panels displayed as a result of this binding are displayed as application modal alerts.

NSConditionallySetsEditableBindingOption

An NSNumber object containing a Boolean value that determines if the editable state of the user interface item is automatically configured based on the controller's selection.

NSConditionallySetsEnabledBindingOption

An NSNumber object containing a Boolean value that determines if the enabled state of the user interface item is automatically configured based on the controller's selection.

NSConditionallySetsHiddenBindingOption

An NSNumber object containing a Boolean value that determines if the hidden state of the user interface item is automatically configured based on the controller's selection.

NSContentPlacementTagBindingOption

A number that specifies the tag id of the popup menu item to replace with the content of the array.

NSContinuouslyUpdatesValueBindingOption

An NSNumber object containing a Boolean value that determines whether the value of the binding is updated as edits are made to the user interface item or is updated only when the user interface item resigns as the responder.

NSCreatesSortDescriptorBindingOption

An NSNumber object containing a Boolean value that determines if a sort descriptor is created for a table column.

NSDeletesObjectsOnRemoveBindingsOption

An NSNumber object containing a Boolean value that determines if an object is deleted from the managed context immediately upon being removed from a relationship.

NSDisplayNameBindingOption

An NSString object containing a human readable string to be displayed for a predicate.

NSDisplayPatternBindingOption

An NSString object that specifies a format string used to construct the final value of a string.

NSHandlesContentAsCompoundValueBindingOption

An NSNumber object containing a Boolean value that determines if the content is treated as a compound value.

NSInsertsNullPlaceholderBindingOption

An NSNumber object containing a Boolean value that determines if an additional item which represents nil is inserted into a matrix or pop-up menu before the items in the content array.

NSInvokesSeparatelyWithArrayObjectsBindingOption

An NSNumber object containing a Boolean value that determines whether the specified selector is invoked with the array as the argument or is invoked repeatedly with each array item as an argument.

NSMultipleValuesPlaceholderBindingOption

An object that is used as a placeholder when the key path of the bound controller returns the NSMultipleValuesMarker marker for a binding.

NSNoSelectionPlaceholderBindingOption

An object that is used as a placeholder when the key path of the bound controller returns the NSNoSelectionMarker marker for a binding.

NSNotApplicablePlaceholderBindingOption

An object that is used as a placeholder when the key path of the bound controller returns the NSNotApplicableMarker marker for a binding.

NSNullPlaceholderBindingOption

An object that is used as a placeholder when the key path of the bound controller returns nil for a binding.

NSPredicateFormatBindingOption

An NSString object containing the predicate pattern string for the predicate bindings. Use $value to refer to the value in the search field.

NSRaisesForNotApplicableKeysBindingOption

An NSNumber object containing a Boolean value that specifies if an exception is raised when the binding is bound to a key that is not applicable—for example when an object is not key-value coding compliant for a key.

NSSelectorNameBindingOption

An NSString object that specifies the method selector invoked by the target binding when the user interface item is clicked.

NSSelectsAllWhenSettingContentBindingOption

An NSNumber object containing a Boolean value that specifies if all the items in the array controller are selected when the content is set.

NSValidatesImmediatelyBindingOption

An NSNumber object containing a Boolean value that determines if the contents of the binding are validated immediately.

NSValueTransformerBindingOption

An NSValueTransformer instance that is applied to the bound value.

NSValueTransformerNameBindingOption

The value for this key is an identifier of a registered NSValueTransformer instance that is applied to the bound value.