mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Add init
This commit is contained in:
parent
7092968ed5
commit
98830d3962
3 changed files with 36 additions and 0 deletions
|
@ -27,6 +27,18 @@
|
|||
|
||||
@implementation NSMassFormatter
|
||||
|
||||
- (instancetype) init
|
||||
{
|
||||
self = [super init];
|
||||
if(self != nil)
|
||||
{
|
||||
_numberFormatter = nil;
|
||||
_unitStyle = NSFormattingUnitStyleMedium;
|
||||
_isForPersonMassUse = NO;
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
- (NSNumberFormatter *) numberFormatter
|
||||
{
|
||||
return _numberFormatter;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue