< Previous PageNext Page > Hide TOC

NSCollectionView Bindings

Related class
Availability
Available in Mac OS X v10.5 and later.

Contents:

Availability Bindings
Content Bindings
Parameters Bindings


Availability Bindings

hidden

A multiple-value binding that determines if the NSCollectionView is displayed in the user interface.

When hidden is bound, a new binding, hidden2, is exposed and can be bound. Binding to hidden2 causes hidden3 to be exposed, and so on.

The NSCollectionView is hidden if a logical OR operation on all the hidden bindings results in a Boolean value of YES.

Availability:
Available in Mac OS X v10.5 and later.
Binding is Read-Only.


Binding Options
OptionBinding option constantValue class
Raises for Not Applicable KeysNSRaisesForNotApplicableKeysBindingOptionNSNumber (Boolean)


Placeholders
DescriptionPlaceholder constantValue class
Multiple Values PlaceholderNSMultipleValuesPlaceholderBindingOptionNSNumber (Boolean) or NSNull
No Selection PlaceholderNSNoSelectionPlaceholderBindingOptionNSNumber (Boolean) or NSNull
Not Applicable PlaceholderNSNotApplicablePlaceholderBindingOptionNSNumber (Boolean) or NSNull
Null PlaceholderNSNullPlaceholderBindingOptionNSNumber (Boolean) or NSNull

Content Bindings

content

An NSArrayController instance that provides the content of the NSCollectionView.

Unless contentValues is also bound, the titles of the items in the NSCollectionView are derived by invoking description for each of the content objects.

Availability:
Available in Mac OS X v10.5 and later.
Binding is Read-Only.


Binding Options
OptionBinding option constantValue class
Raises for Not Applicable KeysNSRaisesForNotApplicableKeysBindingOptionNSNumber (Boolean)

selectionIndexes

An NSIndexSet instance that specifies the indices of the selected rows in the NSCollectionView.

Typically, selectionIndexes is bound automatically to the NSArrayController that the first NSTableColumn is bound to.

Availability:
Available in Mac OS X v10.5 and later.


Binding Options
OptionBinding option constantValue class
Always Presents Application Modal Alerts. Available in Mac OS X v10.4 and later.NSAlwaysPresentsApplicationModalAlertsBindingOptionNSNumber (Boolean)
Raises for Not Applicable KeysNSRaisesForNotApplicableKeysBindingOptionNSNumber (Boolean)
Validates ImmediatelyNSValidatesImmediatelyBindingOptionNSNumber (Boolean)

Parameters Bindings

toolTip

An NSString that contains the tool tip to display for this NSCollectionView.

Availability:
Available in Mac OS X v10.5 and later.
Binding is Read-Only.


Binding Options
OptionBinding option constantValue class
Raises for Not Applicable KeysNSRaisesForNotApplicableKeysBindingOptionNSNumber (Boolean)


Placeholders
DescriptionPlaceholder constantValue class
Multiple Values PlaceholderNSMultipleValuesPlaceholderBindingOptionNSString
No Selection PlaceholderNSNoSelectionPlaceholderBindingOptionNSString
Not Applicable PlaceholderNSNotApplicablePlaceholderBindingOptionNSString
Null PlaceholderNSNullPlaceholderBindingOptionNSString


< Previous PageNext Page > Hide TOC


© 2004, 2007 Apple Inc. All Rights Reserved. (Last updated: 2007-10-31)


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.