Enumeration

NSEnergyFormatterUnit

The units supported by the NSEnergyFormatter class.

Declaration

typedef enum NSEnergyFormatterUnit : NSInteger {
    ...
} NSEnergyFormatterUnit;

Topics

Constants

NSEnergyFormatterUnitCalorie

The calorie unit. This unit is often used in chemistry. It is abbreviated as “cal.”

NSEnergyFormatterUnitKilocalorie

The kilocalorie unit. This unit is used for food calories in some locales. In general, it is abbreviated as “kcal.” However, it may be abbreviated as “C” when used to represent food calories.