Up

NSEnergyFormatter class documentation

Authors

Generated by Gregory John Casamento,,,

Date: Generated at 2023-12-20 19:35:39 -0500

Software documentation for the NSEnergyFormatter class

NSEnergyFormatter : NSFormatter

Declared in:
Foundation/NSEnergyFormatter.h
Availability: MacOS-X 10.10.0

Description forthcoming.

Instance Variables

Method summary

getObjectValue: forString: errorDescription: 

- (BOOL) getObjectValue: (id*)obj forString: (NSString*)string errorDescription: (NSString**)error;
Availability: MacOS-X 10.10.0

Description forthcoming.

isForFoodEnergyUse 

- (BOOL) isForFoodEnergyUse;
Availability: MacOS-X 10.10.0

Description forthcoming.

numberFormatter 

- (NSNumberFormatter*) numberFormatter;
Availability: MacOS-X 10.10.0

Description forthcoming.

setForFoodEnergyUse: 

- (void) setForFoodEnergyUse: (BOOL)flag;
Availability: MacOS-X 10.10.0

Description forthcoming.

setNumberFormatter: 

- (void) setNumberFormatter: (NSNumberFormatter*)formatter;
Availability: MacOS-X 10.10.0

Description forthcoming.

setUnitStyle: 

- (void) setUnitStyle: (NSFormattingUnitStyle)style;
Availability: MacOS-X 10.10.0

Description forthcoming.

stringFromJoules: 

- (NSString*) stringFromJoules: (double)numberInJoules;
Availability: MacOS-X 10.10.0

Description forthcoming.

stringFromValue: unit: 

- (NSString*) stringFromValue: (double)value unit: (NSEnergyFormatterUnit)unit;
Availability: MacOS-X 10.10.0

Description forthcoming.

unitStringFromJoules: usedUnit: 

- (NSString*) unitStringFromJoules: (double)numberInJoules usedUnit: (NSEnergyFormatterUnit*)unitp;
Availability: MacOS-X 10.10.0

Description forthcoming.

unitStringFromValue: unit: 

- (NSString*) unitStringFromValue: (double)value unit: (NSEnergyFormatterUnit)unit;
Availability: MacOS-X 10.10.0

Description forthcoming.

unitStyle 

- (NSFormattingUnitStyle) unitStyle;
Availability: MacOS-X 10.10.0

Description forthcoming.



Instance Variables for NSEnergyFormatter Class

_isForFoodEnergyUse

@protected BOOL _isForFoodEnergyUse;
Availability: MacOS-X 10.10.0

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_numberFormatter

@protected NSNumberFormatter* _numberFormatter;
Availability: MacOS-X 10.10.0

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_unitStyle

@protected NSFormattingUnitStyle _unitStyle;
Availability: MacOS-X 10.10.0

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.





Up