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 |
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 |
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 |
indexes: Array of indexes to make up the index path.
The items on this page are in the following plugins: MBS MacControls Plugin.