Type Method

yard()

Returns a HealthKit unit for measuring length in yards.

Declaration

class func yard() -> Self

Return Value

A HealthKit unit for measuring length in yards.

See Also

Constructing Length Units

class func meter() -> Self

Returns a HealthKit unit for measuring length in meters.

class func meterUnit(with: HKMetricPrefix) -> Self

Returns a HealthKit unit for measuring length, using meter units with the provided prefix.

class func inch() -> Self

Returns a HealthKit unit for measuring length in inches.

class func foot() -> Self

Returns a HealthKit unit for measuring length in feet.

class func mile() -> Self

Returns a HealthKit unit for measuring length in miles.