Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSIndexSetMBS class.
NSIndexSetMBS.firstIndex as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Cocoa | MBS MacBase Plugin | 9.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
First index in the receiver or NSNotFound (&h7fffffff) when the receiver is empty.
Some examples using this method:
- /MacControls/Listbox and TableView Demos/ListboxTV drop-in/Flat Only/ListBoxTV Database with DataSource
- /MacControls/Listbox and TableView Demos/ListboxTV drop-in/Flat Only/ListBoxTV Simple Demo with DataSource
- /MacControls/Listbox and TableView Demos/ListboxTV drop-in/Flat Only/ListBoxTV TableView
- /MacControls/Listbox and TableView Demos/ListboxTV drop-in/Flat Only/ListboxTV with ContainerControl Cells
- /MacControls/Listbox and TableView Demos/ListboxTV drop-in/Hierarchical & Flat/ListBoxTV OutlineView
NSIndexSetMBS.indexGreaterThanIndex(index as Integer) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Cocoa | MBS MacBase Plugin | 9.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns the losest index in the receiver greater than index; NSNotFound (&h7FFFFFFF) when the receiver contains no qualifying index.
NSIndexSetMBS.indexGreaterThanOrEqualToIndex(index as Integer) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Cocoa | MBS MacBase Plugin | 9.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns closest index in the receiver greater than or equal to index; NSNotFound (&h7FFFFFFF) when the receiver contains no qualifying index.
NSIndexSetMBS.indexLessThanIndex(index as Integer) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Cocoa | MBS MacBase Plugin | 9.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns closest index in the receiver less than index; NSNotFound (&h7FFFFFFF) when the receiver contains no qualifying index.
NSIndexSetMBS.indexLessThanOrEqualToIndex(index as Integer) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Cocoa | MBS MacBase Plugin | 9.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns closest index in the receiver less than or equal to index; NSNotFound (&h7FFFFFFF) when the receiver contains no qualifying index.
NSIndexSetMBS.intersectsIndexesInRange(StartIndex as Integer, Length as Integer) as boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Cocoa | MBS MacBase Plugin | 9.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
NSIndexSetMBS.isEqualToIndexSet(other as NSIndexSetMBS) as boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Cocoa | MBS MacBase Plugin | 9.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
NSIndexSetMBS.lastIndex as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Cocoa | MBS MacBase Plugin | 9.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns Last index in the receiver or NSNotFound (&h7FFFFFFF) when the receiver is empty.
Some examples using this method:
- /MacControls/Listbox and TableView Demos/ListboxTV drop-in/Flat Only/ListBoxTV Database with DataSource
- /MacControls/Listbox and TableView Demos/ListboxTV drop-in/Flat Only/ListBoxTV Simple Demo with DataSource
- /MacControls/Listbox and TableView Demos/ListboxTV drop-in/Flat Only/ListBoxTV TableView
- /MacControls/Listbox and TableView Demos/ListboxTV drop-in/Flat Only/ListboxTV with ContainerControl Cells
- /MacControls/Listbox and TableView Demos/ListboxTV drop-in/Hierarchical & Flat/ListBoxTV OutlineView
NSIndexSetMBS.mutableCopy as NSMutableIndexSetMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Cocoa | MBS MacBase Plugin | 9.6 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
NSIndexSetMBS.Operator_Convert as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Cocoa | MBS MacBase Plugin | 13.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
This is for having str() function and msgbox work with NSIndexSetMBS class.
If more than 20 values, you get only 20 values followed with dots and last value on the end.
NSIndexSetMBS.Values as Integer()
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Cocoa | MBS MacBase Plugin | 13.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The items on this page are in the following plugins: MBS MacBase Plugin.