---
title: "init(style:)"
framework: appintents
role: symbol
role_heading: Initializer
path: "appintents/startworkoutintent/init(style:)"
---

# init(style:)

Creates a new intent for the specified workout style.

## Declaration

```swift
init(style: Self.WorkoutStyle)
```
