---
title: "init(_:)"
framework: swiftui
role: symbol
role_heading: Initializer
path: "swiftui/navigationpath/init(_:)"
---

# init(_:)

Creates a new navigation path from a serializable version.

## Declaration

```swift
init(_ codable: NavigationPath.CodableRepresentation)
```

## Parameters

- `codable`: A value describing the contents of the new path in a serializable format.

## See Also

### Creating a navigation path

- [init()](swiftui/navigationpath/init().md)
