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
Back to NSIndexPathMBS class.
NSIndexPathMBS.compare(other as NSIndexPathMBS) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Collection View | MBS MacControls Plugin | 21.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Returns the depth-first traversal ordering of the receiving index path and indexPath.
NSOrderedAscending = -1: The receiving index path comes before indexPath.
NSOrderedDescending = 1: The receiving index path comes after indexPath.
NSOrderedSame = 0: The receiving index path and indexPath are the same index path.
NSIndexPathMBS.Constructor(Index as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
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.
See also:
NSIndexPathMBS.Constructor(Indexes() as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
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.
See also:
NSIndexPathMBS.copy as NSIndexPathMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Collection View | MBS MacControls Plugin | 21.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
NSIndexPathMBS.indexAtPosition(position as Integer) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Collection View | MBS MacControls Plugin | 21.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
position: Index value of the desired node. Node numbering starts at zero.
Returns the index value at node or NSNotFound (-1) if the node is outside the range of the index path.
NSIndexPathMBS.indexes as Integer()
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Collection View | MBS MacControls Plugin | 21.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
NSIndexPathMBS.indexPathByAddingIndex(index as Integer) as NSIndexPathMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Collection View | MBS MacControls Plugin | 21.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
index: Index to append to the index path’s indexes.
Returns a new index path containing the receiving index path’s indexes and index.
NSIndexPathMBS.indexPathByRemovingLastIndex as NSIndexPathMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Collection View | MBS MacControls Plugin | 21.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Returns an empty NSIndexPath instance if the receiving index path’s length is 1 or less.
In OS X v10.4 this method returns nil when the length of the receiving index path is 1 or less. On iOS and macOS 10.5 and later this method never returns nil.
The items on this page are in the following plugins: MBS MacControls Plugin.