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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software