---
title: "init(symbol:)"
framework: foundation
role: symbol
role_heading: Initializer
path: "foundation/unit/init(symbol:)"
---

# init(symbol:)

Initializes a new unit with the specified symbol.

## Declaration

```swift
init(symbol: String)
```

## Parameters

- `symbol`: The symbol used to represent the unit.

## Return Value

Return Value A new unit with the specified symbol.
