Instance Method

rowForItem:

Returns the row associated with a given item.

Declaration

- (NSInteger)rowForItem:(id)item;

Parameters

item

An item in the receiver.

Return Value

The row associated with item, or –1 if item is nil or cannot be found.

See Also

Converting Between Items and Rows

- itemAtRow:

Returns the item associated with a given row.