---
title: "init(_:)"
framework: appkit
role: symbol
role_heading: Initializer
path: "appkit/nswindow/level-swift.struct/init(_:)"
---

# init(_:)

Creates a window level using the given integer value.

## Declaration

```swift
init(_ rawValue: Int)
```

## Parameters

- `rawValue`: The integer value of the window level.

## See Also

### Creating a Window Level

- [init(rawValue:)](appkit/nswindow/level-swift.struct/init(rawvalue:).md)
