HealthKit Sort Descriptors

No overview available.

Topics

Sample Sort Identifiers

HKSampleSortIdentifierStartDate

A constant for sorting samples based on their start date.

HKSampleSortIdentifierEndDate

A constant for sorting samples based on their end date.

Workout Sort Identifiers

HKWorkoutSortIdentifierDuration

A constant for sorting workouts based on their duration.

HKWorkoutSortIdentifierTotalDistance

A constant for sorting workouts based on their total distance.

HKWorkoutSortIdentifierTotalFlightsClimbed

A constant for sorting workouts based on the number of flights of steps climbed.

HKWorkoutSortIdentifierTotalEnergyBurned

A constant for sorting workouts based on the total energy burned.

See Also

Initializing Sample Queries

HKObjectQueryNoLimit

A value indicating that the query returns all the matching samples in the HealthKit store.