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

# init(_:)

Creates a file attribute key from a string.

## Declaration

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

## Parameters

- `rawValue`: The string value representing the file attribute key.

## See Also

### Creating a File Attribute Key

- [init(rawValue:)](foundation/fileattributekey/init(rawvalue:).md)
