---
title: selectionFrame()
framework: quartz
role: symbol
role_heading: Instance Method
path: quartz/ikimagebrowsercell/selectionframe()
---

# selectionFrame()

Returns the receiver’s selection frame rectangle, which defines the position of the selection rectangle in its IKImageBrowserView.

## Declaration

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

## Return Value

Return Value The cells selection frame, in the IKImageBrowserView coordinate space.

## Discussion

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

## See Also

### Selection Handling

- [isSelected()](quartz/ikimagebrowsercell/isselected().md)
