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.
Creates a new workout plan from the provided workout and ID.
init(_ workout: WorkoutPlan.Workout, id: UUID = UUID())The workout represented by this plan.
A unique ID for the plan.