---
title: "init(frame:)"
framework: appkit
role: symbol
role_heading: Initializer
path: "appkit/nsscrubber/init(frame:)"
---

# init(frame:)

Initializes and returns a newly allocated scrubber object with the specified frame rectangle.

## Declaration

```swift
init(frame frameRect: NSRect)
```

## See Also

### Initializing a scrubber

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