---
title: "init(_:)"
framework: HomeExtensions
role: symbol
role_heading: Initializer
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+]
path: "homeextensions/homecontentid/init(_:)"
---

# init(_:)

Creates an identifier from a string.

## Declaration

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

## Parameters

- `rawValue`: The identifier’s string value.
