init(steps:iterations:)
Creates a new interval block, in which the workout repeats the provided steps the specified number of times.
Declaration
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.