Platforms to show: All Mac Windows Linux Cross-Platform

NSCollectionViewLayoutMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Cocoa Collection View MBS MacControls Plugin 21.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: An abstract base class that you subclass and use to generate layout information for a collection view.
Notes:
The job of a layout object is to perform the calculations needed to determine the placement and appearance of items, supplementary views, and other content in the collection view. The layout object does not apply the layout attributes it generates to the views in your interface. Instead, it passes those layout attributes to the collection view, which then creates the needed views and applies the layout attributes to them.

see also
https://developer.apple.com/documentation/appkit/nscollectionviewlayout

Feedback, Comments & Corrections

Sub classes:

Some methods using this class:

Some properties using for this class:

Some events using this class:

Blog Entries


The items on this page are in the following plugins: MBS MacControls Plugin.


NSCollectionViewLayoutInvalidationContextMBS   -   NSCollectionViewMBS

The biggest plugin in space...




Links
MBS Xojo Plugins

Start Chat