row(forItem:)
Returns the row associated with a given item.
Declaration
func row(forItem item: Any?) -> IntParameters
- item:
An item in the receiver.
Return Value
The row associated with item, or –1 if item is nil or cannot be found.
Returns the row associated with a given item.
func row(forItem item: Any?) -> IntAn item in the receiver.
The row associated with item, or –1 if item is nil or cannot be found.