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

# init(rawValue:)

Creates a feature from a raw value.

## Declaration

```swift
init(rawValue: Int)
```
