Good evening,
My question involves the code below:
NSNumberFormatter * nf = [[[NSNumberFormatter alloc] init] autorelease];
[nf setNumberStyle:NSNumberFormatterSpellOutStyle];
NSLog(@'%@', [nf numberFromString:@one]); // - LINE A
NSLog(@'%@', [nf numberFromString:@one two]); // - LINE B
Le 6 mai 08 à 03:29, Chataka a écrit :
Hello,
My app has a NSTextField on a UI window to accept user input and to
display a NSNumber
in a model object. The NSTextField and the NSNumber are bound using
Cocoa Bindings,
and the NSTextField is set a NSNumberFormatter. It is a very simple
UI
Hello,
My app has a NSTextField on a UI window to accept user input and to
display a NSNumber
in a model object. The NSTextField and the NSNumber are bound using
Cocoa Bindings,
and the NSTextField is set a NSNumberFormatter. It is a very simple UI
but I have two
problems regarding this