---
title: indexAtLocationOfDroppedItem()
framework: quartz
role: symbol
role_heading: Instance Method
path: quartz/ikimagebrowserview/indexatlocationofdroppeditem()
---

# indexAtLocationOfDroppedItem()

Returns the index of the cell where the drop operation occurred.

## Declaration

```swift
func indexAtLocationOfDroppedItem() -> Int
```

## Return Value

Return Value The index of the cell where the drop operation occurred.

## Discussion

Discussion The returned index is valid until the next drop occurs.

## See Also

### Supporting Drag and Drop

- [setDraggingDestinationDelegate(_:)](quartz/ikimagebrowserview/setdraggingdestinationdelegate(_:).md)
- [draggingDestinationDelegate()](quartz/ikimagebrowserview/draggingdestinationdelegate().md)
- [setDrop(_:dropOperation:)](quartz/ikimagebrowserview/setdrop(_:dropoperation:).md)
- [setAllowsDroppingOnItems(_:)](quartz/ikimagebrowserview/setallowsdroppingonitems(_:).md)
- [allowsDroppingOnItems()](quartz/ikimagebrowserview/allowsdroppingonitems().md)
- [dropOperation()](quartz/ikimagebrowserview/dropoperation().md)
