Type Method

largeCalorieUnit

Returns a HealthKit unit for measuring energy in large calories (Cal).

Declaration

+ (instancetype)largeCalorieUnit;

Discussion

The large calorie is the same as a kilocalorie (1 Cal = 4184.0 J).

See Also

Constructing Energy Units

+ jouleUnit

Returns a HealthKit unit for measuring energy in joules.

+ jouleUnitWithMetricPrefix:

Returns a HealthKit unit for measuring energy, using joule units with the provided prefix.

+ calorieUnit

Returns a HealthKit unit for measuring energy in calories.

Deprecated
+ kilocalorieUnit

Returns a HealthKit unit for measuring energy in kilocalories.

+ smallCalorieUnit

Returns a HealthKit unit for measuring energy in small calories (cal).