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

# init(rawValue:)

Creates a file attribute key from a raw value string.

## Declaration

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

## Parameters

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

## See Also

### Creating a File Attribute Key

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