Instance Property


The location of the workout.


var workoutLocationType: INWorkoutLocationType { get }


When you measure indoor and outdoor workouts differently, use this property to determine the workout’s location.

See Also

Specifying Workout Details

var workoutName: INSpeakableString?

The name of the workout.

var goalValue: Double?

The user-supplied numerical goal of the workout.

var workoutGoalUnitType: INWorkoutGoalUnitType

The units associated with the workout goal.

var isOpenEnded: Bool?

A Boolean value that indicates whether the workout is open ended.