Mac Developer Library

Developer

AppKit Framework Reference NSPlaceholders Protocol Reference

Options
Deployment Target:

On This Page
Language:

NSPlaceholders

The NSPlaceholders protocol provides an interface that allows an object to register default placeholders that will be displayed for a binding, when no other placeholder has been specified. Individual placeholder values can be specified for each of the marker objects (described in “Selection Markers”), as well as when the property is nil. More...

Inheritance


Not Applicable

Conforms To


Not Applicable

Import Statement


import AppKit @import AppKit;

Availability


Available in OS X v10.3 and later.
  • The following constants are used to describe special cases for a controller’s selection.

    Declaration

    Swift

    var NSMultipleValuesMarker: AnyObject! var NSNoSelectionMarker: AnyObject! var NSNotApplicableMarker: AnyObject!

    Objective-C

    id NSMultipleValuesMarker; id NSNoSelectionMarker; id NSNotApplicableMarker;

    Constants

    • NSMultipleValuesMarker

      NSMultipleValuesMarker

      This marker indicates that a key’s value contains multiple values that differ.

      A binding can be configured to always return this marker for multiple items, even if the values are the same.

      Available in OS X v10.3 and later.

    • NSNoSelectionMarker

      NSNoSelectionMarker

      This marker indicates that the controller’s selection is currently empty.

      Available in OS X v10.3 and later.

    • NSNotApplicableMarker

      NSNotApplicableMarker

      This marker indicates that an object is not key-value coding compliant for the requested key.

      Available in OS X v10.3 and later.

    Import Statement