<!--
{
  "availability" : [
    "macOS: 10.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Quartz",
  "identifier" : "/documentation/Quartz/IKImageBrowserView/dropOperation()",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Quartz"
    ],
    "preciseIdentifier" : "c:objc(cs)IKImageBrowserView(im)dropOperation"
  },
  "title" : "dropOperation()"
}
-->

# dropOperation()

Returns the current drop operation.

```
func dropOperation() -> IKImageBrowserDropOperation
```

## Return Value

[`IKImageBrowserDropOn`](/documentation/Quartz/IKImageBrowserDropOn) if the drop occurs on an item, otherwise [`IKImageBrowserDropBefore`](/documentation/Quartz/IKImageBrowserDropBefore).

## Discussion

The returned value is valid when a drop occurred and until next drop.

For example, given a browser with `N` cells , a cell of `N-1` and operation of [`IKImageBrowserDropOn`](/documentation/Quartz/IKImageBrowserDropOn) would specify a drop on the last cell.  To specify a drop after the last cell, one would use an index of `N` and [`IKImageBrowserDropBefore`](/documentation/Quartz/IKImageBrowserDropBefore) for the operation.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)