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

# selectionFrame()

Returns the receiver’s selection frame rectangle, which defines the position of the selection rectangle in its [`IKImageBrowserView`](/documentation/Quartz/IKImageBrowserView).

```
func selectionFrame() -> NSRect
```

## Return Value

The cells selection frame, in the `IKImageBrowserView` coordinate space.

## Discussion

Subclasses can override this method to customize the position of the selection frame.

---

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)