---
title: "init(coder:)"
framework: appkit
role: symbol
role_heading: Initializer
path: "appkit/nsscrubberselectionstyle/init(coder:)"
---

# init(coder:)

Initializes a scrubber selection style when included from a nib or Storyboard.

## Declaration

```swift
init(coder: NSCoder)
```

## Return Value

Return Value A properly initialized scrubber selection style object.

## See Also

### Creating a selection style

- [init()](appkit/nsscrubberselectionstyle/init().md)
- [makeSelectionView()](appkit/nsscrubberselectionstyle/makeselectionview().md)
