Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSIndexPathMBS class.

NSIndexPathMBS.indexPathForItem(item as Integer, section as Integer = 0) as NSIndexPathMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa Collection View MBS MacControls Plugin 21.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Initializes an index path with the indexes of a specific item and section in a collection view.

item: An index number identifying an item in a NSCollectionViewMBS object in a section identified by the section parameter.
section: An index number identifying a section in a NSCollectionViewMBS object.

NSIndexPathMBS.indexPathWithIndex(index as Integer) as NSIndexPathMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa Collection View MBS MacControls Plugin 21.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Initializes an index path with a single node.

Returns an initialized NSIndexPath object representing a one-node index path with index.

NSIndexPathMBS.indexPathWithIndexes(indexes() as Integer) as NSIndexPathMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa Collection View MBS MacControls Plugin 21.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Initializes an index path with the given nodes and length.

indexes: Array of indexes to make up the index path.

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


The biggest plugin in space...