<!--
{
  "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/IntervalBlock/init(steps:iterations:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "WorkoutKit"
    ],
    "preciseIdentifier" : "s:10WorkoutKit13IntervalBlockV5steps10iterationsACSayAA0C4StepVG_Sitcfc"
  },
  "title" : "init(steps:iterations:)"
}
-->

# init(steps:iterations:)

Creates a new interval block, in which the workout repeats the provided steps the specified number of times.

```
init(steps: [IntervalStep] = [], iterations: Int = 1)
```

## Parameters

`steps`

A series of work and recovery steps for the interval block.

`iterations`

The number of times the interval block repeats its steps.

---

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)