Type Method

pintUS()

Returns a HealthKit unit for measuring volume in US pints.

Declaration

class func pintUS() -> Self

Return Value

A HealthKit unit for measuring volume in US pints.

See Also

Constructing Volume Units

class func liter() -> Self

Returns a HealthKit unit for measuring volume in liters.

class func literUnit(with: HKMetricPrefix) -> Self

Returns a HealthKit unit for measuring volume, using liter units with the provided prefix.

class func fluidOunceUS() -> Self

Returns a HealthKit unit for measuring volume in US fluid ounces.

class func fluidOunceImperial() -> Self

Returns a HealthKit unit for measuring volume in imperial fluid ounces.

class func cupUS() -> Self

Returns a HealthKit unit for measuring volume in US cups.

class func cupImperial() -> Self

Returns a HealthKit unit for measuring volume in imperial cups.

class func pintImperial() -> Self

Returns a HealthKit unit for measuring volume in imperial pints.