---
title: "indexOfItem(at:)"
framework: quartz
role: symbol
role_heading: Instance Method
path: "quartz/ikimagebrowserview/indexofitem(at:)"
---

# indexOfItem(at:)

Returns the index of the item at the specified location.

## Declaration

```swift
func indexOfItem(at point: NSPoint) -> Int
```

## Parameters

- `point`: The location of the item.

## Return Value

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

## See Also

### Getting Item Information

- [itemFrame(at:)](quartz/ikimagebrowserview/itemframe(at:).md)
- [visibleItemIndexes()](quartz/ikimagebrowserview/visibleitemindexes().md)
- [cellForItem(at:)](quartz/ikimagebrowserview/cellforitem(at:).md)
