Returns the index of the item at the given location within the list.
SDK
- macOS 10.4+
Framework
- App
Kit
Declaration
- (NSInteger)itemNumberInTextList:(NSText List *)list atIndex:(NSUInteger)location;
Parameters
list
The text list.
location
The location of the item.
Return Value
Returns the index within the list.