Instance Method

indexOfItemAtPoint:

Returns the index of the item at the specified location.

Declaration

- (NSInteger)indexOfItemAtPoint:(NSPoint)point;

Parameters

point

The location of the item.

Return Value

The index of the item or NSNotFound if no item at this location.

See Also

Getting Item Information

- itemFrameAtIndex:

Returns the frame rectangle for the item located at the specified index.

- visibleItemIndexes

Returns the indexes of the view’s currently visible items.

- cellForItemAtIndex:

Returns the browser cell for the item at the specified index.