Up

NSEnergyFormatter class documentation

Authors

Gregory John Casamento (greg.casamento@gmail.com)

Date: Generated at 2024-11-07 16:52:01 -0500

Copyright: (C) 2019 Free Software Foundation, Inc.

Software documentation for the NSEnergyFormatter class

NSEnergyFormatter : NSFormatter

class_NSEnergyFormatter NSFormatter NSFormatter NSEnergyFormatter NSEnergyFormatter NSFormatter->NSEnergyFormatter
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