Class

HKWorkoutType

The HKWorkoutType class is a concrete subclass of the HKObjectType class. Use workout type objects when creating queries for workout objects. To create a workout type instances, use the workoutType() convenience method.

Overview

Subclassing Notes

Like many HealthKit classes, workout types are not extensible and should not be subclassed.

Additionally, this class reuses the same instance whenever possible. Letting multiple queries share the same workout type helps reduce the overall memory usage.

Relationships

Inherits From

Conforms To