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

# makeSelectionView()

Provides an opportunity to create a customized scrubber selection style.

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

## Return Value

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

## Discussion

In an [`NSScrubberSelectionStyle`](/documentation/AppKit/NSScrubberSelectionStyle) subclass that you create, override this method to create a custom selection style.

---

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)