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

# init(rawValue:)

Creates a file attribute type value.

## Declaration

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

## Parameters

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