FoundationExtension
FoundationExtension is common Foundation/UIKit/Cocoa shortcuts and snippets collection.
|
Common shortcuts. More...
#import <NSNumberFormatter.h>
Class Methods | |
(NSNumberFormatter *) | + formatter |
Creates and returns default formatter. More... | |
Properties | |
Property shortcut for legacy compilers | |
NSNumberFormatterStyle | numberStyle |
Property shortcut for old compilers. More... | |
BOOL | generatesDecimalNumbers |
Property shortcut for old compilers. More... | |
NSLocale * | locale |
Property shortcut for old compilers. More... | |
Number style | |
(NSNumberFormatter *) | + formatterWithNumberStyle: |
Creates and returns with number style. More... | |
(NSString *) | + formattedStringByDecimalStyleForNumber: |
Quick decimal formatting for NSNumber. More... | |
(NSString *) | + formattedStringByDecimalStyleForInteger: |
Quick decimal formatting for NSInteger. More... | |
(instancetype) | - initWithNumberStyle: |
Initialize with number style. More... | |
Common shortcuts.
+ (NSString *) formattedStringByDecimalStyleForInteger: | (NSInteger) | integer |
Quick decimal formatting for NSInteger.
+ (NSString *) formattedStringByDecimalStyleForNumber: | (NSNumber *) | number |
Quick decimal formatting for NSNumber.
+ (NSNumberFormatter *) formatter |
Creates and returns default formatter.
+ (NSNumberFormatter *) formatterWithNumberStyle: | (NSNumberFormatterStyle) | style |
Creates and returns with number style.
- (instancetype) initWithNumberStyle: | (NSNumberFormatterStyle) | style |
Initialize with number style.
|
readwriteatomicassign |
Property shortcut for old compilers.
|
readwriteatomicassign |
Property shortcut for old compilers.
|
readwriteatomicassign |
Property shortcut for old compilers.