---
title: makeSelectionView()
framework: appkit
role: symbol
role_heading: Instance Method
path: appkit/nsscrubberselectionstyle/makeselectionview()
---

# makeSelectionView()

Provides an opportunity to create a customized scrubber selection style.

## Declaration

```swift
func makeSelectionView() -> NSScrubberSelectionView?
```

## Return Value

Return Value A correctly configured scrubber selection view that represents the appearance of your custom selection style.

## Discussion

Discussion In an NSScrubberSelectionStyle subclass that you create, override this method to create a custom selection style.

## See Also

### Creating a selection style

- [init()](appkit/nsscrubberselectionstyle/init().md)
- [init(coder:)](appkit/nsscrubberselectionstyle/init(coder:).md)
