Type Method

confirmationRequired(with:)

Creates an object whose resolution requires the user to confirm the workout unit goal value before proceeding.

Declaration

class func confirmationRequired(with workoutGoalUnitTypeToConfirm: INWorkoutGoalUnitType) -> Self

Parameters

workoutGoalUnitTypeToConfirm

The object that resolves the request. The information in this object must be confirmed by the user.

Return Value

A new INWorkoutGoalUnitTypeResolutionResult object.

Discussion

Use this method when you can resolve the parameter to a similar workout goal and want the user to confirm the change before proceeding.

See Also

Creating a Resolution Result Object

class func success(with: INWorkoutGoalUnitType) -> Self

Creates an object whose resolution involves successfully matching the specified parameter.