Contents

workoutGoalUnitType

The units associated with the workout goal.

Declaration

var workoutGoalUnitType: INWorkoutGoalUnitType { get }

Discussion

If the user specified a goal, this property contains the units for measuring that goal. The units reflect a distance, a time, or a unit of energy. You get the goal’s numerical value from the goalValue property.

See Also

Specifying Workout Details