Instance Property

isOpenEnded

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

Declaration

@nonobjc final var isOpenEnded: Bool? { get }

Discussion

This property contains a Boolean whose value is true when the user wants an open-ended workout instead of a specific-goal workout.

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.