Type Method

kilocalorieUnit

Returns a HealthKit unit for measuring energy in kilocalories.

Declaration

+ (instancetype)kilocalorieUnit;

Return Value

A HealthKit unit for measuring energy in kilocalories.

Discussion

The kilocalorie is used to measure food energy in many regions.

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
+ largeCalorieUnit

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

+ smallCalorieUnit

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