---
title: init()
framework: swift
role: symbol
role_heading: Initializer
path: swift/unicodecodec/init()
---

# init()

Creates an instance of the codec.

## Declaration

```swift
init()
```
