Instance Method

elapsedTime(at:)

Calculates the duration of the workout at the specified time.

Declaration

func elapsedTime(at date: Date) -> TimeInterval

See Also

Starting the Workout

func beginCollection(withStart: Date, completion: (Bool, Error?) -> Void)

Sets the workout’s start date and begins building the workout.

var startDate: Date?

The workout’s start date and time.