Nutrition Identifiers

Identifiers for quantity types that measure the nutritional data of food. When entering food data, combine multiple nutrition samples into a single correlation object. For more information, see food.

Topics

Constants

static let dietaryBiotin: HKQuantityTypeIdentifier

A quantity sample type that measures the amount of biotin consumed.

static let dietaryCaffeine: HKQuantityTypeIdentifier

A quantity sample type that measures the amount of caffeine consumed.

static let dietaryCalcium: HKQuantityTypeIdentifier

A quantity sample type that measures the amount of calcium consumed.

static let dietaryCarbohydrates: HKQuantityTypeIdentifier

A quantity sample type that measures the amount of carbohydrates consumed.

static let dietaryChloride: HKQuantityTypeIdentifier

A quantity sample type that measures the amount of chloride consumed.

static let dietaryCholesterol: HKQuantityTypeIdentifier

A quantity sample type that measures the amount of cholesterol consumed.

static let dietaryChromium: HKQuantityTypeIdentifier

A quantity sample type that measures the amount of chromium consumed.

static let dietaryCopper: HKQuantityTypeIdentifier

A quantity sample type that measures the amount of copper consumed.

static let dietaryEnergyConsumed: HKQuantityTypeIdentifier

A quantity sample type that measures the amount of energy consumed.

static let dietaryFatMonounsaturated: HKQuantityTypeIdentifier

A quantity sample type that measures the amount of monounsaturated fat consumed.

static let dietaryFatPolyunsaturated: HKQuantityTypeIdentifier

A quantity sample type that measures the amount of polyunsaturated fat consumed.

static let dietaryFatSaturated: HKQuantityTypeIdentifier

A quantity sample type that measures the amount of saturated fat consumed.

static let dietaryFatTotal: HKQuantityTypeIdentifier

A quantity sample type that measures the total amount of fat consumed.

static let dietaryFiber: HKQuantityTypeIdentifier

A quantity sample type that measures the amount of fiber consumed.

static let dietaryFolate: HKQuantityTypeIdentifier

A quantity sample type that measures the amount of Folate consumed.

static let dietaryIodine: HKQuantityTypeIdentifier

A quantity sample type that measures the amount of iodine consumed.

static let dietaryIron: HKQuantityTypeIdentifier

A quantity sample type that measures the amount of iron consumed.

static let dietaryMagnesium: HKQuantityTypeIdentifier

A quantity sample type that measures the amount of magnesium consumed.

static let dietaryManganese: HKQuantityTypeIdentifier

A quantity sample type that measures the amount of manganese consumed.

static let dietaryMolybdenum: HKQuantityTypeIdentifier

A quantity sample type that measures the amount of molybdenum consumed.

static let dietaryNiacin: HKQuantityTypeIdentifier

A quantity sample type that measures the amount of niacin consumed.

static let dietaryPantothenicAcid: HKQuantityTypeIdentifier

A quantity sample type that measures the amount of pantothenic acid consumed.

static let dietaryPhosphorus: HKQuantityTypeIdentifier

A quantity sample type that measures the amount of phosphorus consumed.

static let dietaryPotassium: HKQuantityTypeIdentifier

A quantity sample type that measures the amount of potassium consumed.

static let dietaryProtein: HKQuantityTypeIdentifier

A quantity sample type that measures the amount of protein consumed.

static let dietaryRiboflavin: HKQuantityTypeIdentifier

A quantity sample type that measures the amount of riboflavin consumed.

static let dietarySelenium: HKQuantityTypeIdentifier

A quantity sample type that measures the amount of selenium consumed.

static let dietarySodium: HKQuantityTypeIdentifier

A quantity sample type that measures the amount of sodium consumed.

static let dietarySugar: HKQuantityTypeIdentifier

A quantity sample type that measures the amount of sugar consumed.

static let dietaryThiamin: HKQuantityTypeIdentifier

A quantity sample type that measures the amount of thiamin consumed.

static let dietaryVitaminA: HKQuantityTypeIdentifier

A quantity sample type that measures the amount of vitamin A consumed.

static let dietaryVitaminB12: HKQuantityTypeIdentifier

A quantity sample type that measures the amount of vitamin B12 consumed.

static let dietaryVitaminB6: HKQuantityTypeIdentifier

A quantity sample type that measures the amount of vitamin B6 consumed.

static let dietaryVitaminC: HKQuantityTypeIdentifier

A quantity sample type that measures the amount of vitamin C consumed.

static let dietaryVitaminD: HKQuantityTypeIdentifier

A quantity sample type that measures the amount of vitamin D consumed.

static let dietaryVitaminE: HKQuantityTypeIdentifier

A quantity sample type that measures the amount of vitamin E consumed.

static let dietaryVitaminK: HKQuantityTypeIdentifier

A quantity sample type that measures the amount of vitamin K consumed.

static let dietaryWater: HKQuantityTypeIdentifier

A quantity sample type that measures the amount of water consumed.

static let dietaryZinc: HKQuantityTypeIdentifier

A quantity sample type that measures the amount of zinc consumed.

See Also

Type Identifiers

Body Measurements

Identifiers for quantity types based on body measurements.

Fitness Identifiers

Identifiers for quantity types that measure fitness data.

Vital Signs Identifiers

Identifiers for quantity types that measure the user’s vital signs.

Results Identifiers

Identifiers for quantity types that measure results data.

UV Exposure Identifier

An identifier for quantity types that measure the user’s exposure to ultraviolet (UV) radiation.

Category Type Identifiers

Identifiers for category types.

Characteristics Type Identifiers

Identifiers for characteristic types.

Correlation Type Identifiers

Identifiers for correlation types.

Workout Type Identifier

An identifier for workout types.

Document Type Identifier

An identifier for continuity of care document (CDA) types