Enumeration

NSCollectionViewItemHighlightState

Constants indicating the type of highlight applied to an item.

Declaration

typedef enum NSCollectionViewItemHighlightState : NSInteger {
    ...
} NSCollectionViewItemHighlightState;

Topics

Constants

NSCollectionViewItemHighlightForSelection

The selected highlight state. This type of highlight is applied when an item is selected. During interactive highlighting, this state is also applied to indicate that the item will become highlighted.

NSCollectionViewItemHighlightForDeselection

The deselection highlight state. During interactive selection, this state is used to indicate that the item will become deselected when interactions end. After interactions end, the highlight state returns to NSCollectionViewItemHighlightNone.

NSCollectionViewItemHighlightAsDropTarget

The drop target highlight state. This type of highlight is applied when the item is the target of a drop operation on the collection view. After the drop operation completes, the highlight state returns to NSCollectionViewItemHighlightNone.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software