Type Method

gramUnit

Returns a HealthKit unit for measuring mass in grams.

Declaration

+ (instancetype)gramUnit;

Return Value

A HealthKit unit for measuring mass in grams.

See Also

Constructing Mass Units

+ gramUnitWithMetricPrefix:

Returns a HealthKit unit for measuring mass, using gram units with the provided prefix.

+ ounceUnit

Returns a HealthKit unit for measuring mass in ounces.

+ poundUnit

Returns a HealthKit unit for measuring mass in pounds.

+ stoneUnit

Returns a HealthKit unit for measuring mass in stones.

+ moleUnitWithMolarMass:

Returns a HealthKit unit for measuring mass in moles for a given molar mass.

+ moleUnitWithMetricPrefix:molarMass:

Returns a HealthKit unit for measuring mass in moles, with the given prefix and molar mass.

HKUnitMolarMassBloodGlucose

The molecular mass of blood glucose, typically used to create mole units for blood glucose.