NSCollectionViewLayoutMBS class
Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version
22.2
22.3
22.4
22.5
23.0
23.1
23.2
23.3
23.4
23.5
24.0
24.1
The list of the topics,
classes,
interfaces,
controls,
modules,
global methods by category,
global methods by name,
screenshots,
licenses
and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
NSCollectionViewLayoutMBS class
An abstract base class that you subclass and use to generate layout information for a collection view.
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
Sub classes:
Some methods using this class:
Some properties using for this class:
Some events using this class:
- DesktopNSCollectionViewControlMBS.ItemDidTransition(item as NSCollectionViewItemMBS, oldLayout as NSCollectionViewLayoutMBS, newLayout as NSCollectionViewLayoutMBS)
- DesktopNSCollectionViewControlMBS.referenceSizeForFooterInSection(layout as NSCollectionViewLayoutMBS, section as Integer) as NSSizeMBS
- DesktopNSCollectionViewControlMBS.referenceSizeForHeaderInSection(layout as NSCollectionViewLayoutMBS, section as Integer) as NSSizeMBS
- DesktopNSCollectionViewControlMBS.transitionLayout(fromLayout as NSCollectionViewLayoutMBS, toLayout as NSCollectionViewLayoutMBS) as NSCollectionViewTransitionLayoutMBS
- NSCollectionViewControlMBS.insetForSectionAtIndex(layout as NSCollectionViewLayoutMBS, section as Integer) as NSEdgeInsetsMBS
- NSCollectionViewControlMBS.minimumInteritemSpacingForSectionAtIndex(layout as NSCollectionViewLayoutMBS, section as Integer) as double
- NSCollectionViewControlMBS.minimumLineSpacingForSectionAtIndex(layout as NSCollectionViewLayoutMBS, section as Integer) as double
- NSCollectionViewControlMBS.referenceSizeForHeaderInSection(layout as NSCollectionViewLayoutMBS, section as Integer) as NSSizeMBS
- NSCollectionViewControlMBS.sizeForItemAtIndexPath(layout as NSCollectionViewLayoutMBS, indexPath as NSIndexPathMBS) as NSSizeMBS
- NSCollectionViewControlMBS.transitionLayout(fromLayout as NSCollectionViewLayoutMBS, toLayout as NSCollectionViewLayoutMBS) as NSCollectionViewTransitionLayoutMBS
Blog Entries
The items on this page are in the following plugins: MBS MacControls Plugin.
NSCollectionViewLayoutInvalidationContextMBS
-
NSCollectionViewMBS