init(activities:displayName:)
Creates a new multisport workout for the specified activities.
Declaration
init(activities: [SwimBikeRunWorkout.Activity], displayName: String? = nil)Parameters
- activities:
An ordered list of workout activity types included in the workout.
- displayName:
The name that the system uses when displaying the workout.