<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.12.0 -",
    "tvOS: 10.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 3.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/Dimension/init(symbol:converter:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:objc(cs)NSDimension(im)initWithSymbol:converter:"
  },
  "title" : "init(symbol:converter:)"
}
-->

# init(symbol:converter:)

Initializes a dimensional unit with the symbol and unit converter you specify.

```
init(symbol: String, converter: UnitConverter)
```

## Parameters

`symbol`

The symbol used to represent the unit.

`converter`

The unit converter used to represent the unit in terms of the dimension’s base unit.

## Return Value

A new dimensional unit with the specified symbol and unit converter.

## Discussion

This is the designated initializer.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)