<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WorkoutKit",
  "identifier" : "/documentation/WorkoutKit/IntervalStep/init(_:step:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "WorkoutKit"
    ],
    "preciseIdentifier" : "s:10WorkoutKit12IntervalStepV_4stepA2C7PurposeO_AA0aD0Vtcfc"
  },
  "title" : "init(_:step:)"
}
-->

# init(_:step:)

Creates a new interval step.

```
init(_ purpose: IntervalStep.Purpose, step: WorkoutStep)
```

## Parameters

`purpose`

The purpose of this interval step.

`step`

The workout step to perform.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)