Contents

init(_:id:)

Creates a new workout plan from the provided workout and ID.

Declaration

init(_ workout: WorkoutPlan.Workout, id: UUID = UUID())

Parameters

  • workout:

    The workout represented by this plan.

  • id:

    A unique ID for the plan.

See Also

Creating a workout plan