Collection View

Display one or more subviews in a highly configurable arrangement.

Topics

Views

NSCollectionView

An ordered collection of data items displayed in a customizable layout.

NSCollectionViewSectionHeaderView

A protocol that defines a button to control the collapse of a collection view’s section.

Management

NSCollectionViewDataSource

A set of methods that a data source object implements to provide the information and view objects that a collection view requires to present content.

NSCollectionViewDelegate

A set of methods that you use to manage the behavior of a collection view.

Items

NSCollectionViewItem

The visual representation for a single data element in a collection view.

NSCollectionViewElement

A set of methods that you use to manage the content in a collection view.

Layouts

NSCollectionViewFlowLayout

A layout that organizes items into a flexible and configurable arrangement.

NSCollectionViewDelegateFlowLayout

A set of methods that a delegate implements to provide layout information to a flow layout object in a collection view.

NSCollectionViewGridLayout

A layout that displays a single section of items in a row and column grid.

NSCollectionViewTransitionLayout

An object that implements custom behaviors when changing from one layout to another in a collection view.

NSCollectionViewLayoutAttributes

An object that contains layout-related attributes for an element in a collection view.

NSCollectionViewLayout

An abstract base class that you subclass and use to generate layout information for a collection view.

Updates

NSCollectionViewUpdateItem

A description of a single change to make to an item in a collection view.

NSCollectionViewLayoutInvalidationContext

An object that identifies the portions of your layout that need to be updated.

NSCollectionViewFlowLayoutInvalidationContext

An object that identifies the portions of a flow layout object that need to be updated.

See Also

Content Views

Browser View

Provide a column-based interface for viewing and navigating hierarchical information.

Outline View

Display a list-based interface for hierarchical data, where each level of hierarchy is indented from the previous one.

NSOpenGLView

A view that displays OpenGL content in a view.

Deprecated
Table View

Display custom data in rows and columns.

NSTextView

A view that draws text and handles user interactions with that text.