---
title: "init(_:)"
framework: foundation
role: symbol
role_heading: Initializer
path: "foundation/runloop/mode/init(_:)"
---

# init(_:)

Creates a run loop mode using the specified string value.

## Declaration

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

## Parameters

- `rawValue`: The string value for the run loop mode.

## See Also

### Run Loop Mode Creation

- [init(rawValue:)](foundation/runloop/mode/init(rawvalue:).md)
