itemNumber(in:at:)
Returns the index of the item at the specified location within the list.
Declaration
func itemNumber(in list: NSTextList, at location: Int) -> IntParameters
- list:
The text list.
- location:
The location of the item.
Return Value
Returns the index within the list.