Posts by Diego Dias • 36 points
2 posts
-
1
votes1
answer334
viewsA: Format Brazil Currency in Objective C
I use it like this: NSNumberFormatter *formatter = [[NSNumberFormatter alloc] init]; [formatter setNumberStyle:NSNumberFormatterCurrencyStyle]; NSLocale *localizableIdentifier = [[NSLocale alloc]…
-
1
votes1
answer35
viewsA: Nsstring to Nsdictionary conversion always null
Try this: NSString *suaString = @"{\"teste\" : \"ehtetra\"}"; NSData *data = [suaString dataUsingEncoding:NSUTF8StringEncoding]; id novoJson = [NSJSONSerialization JSONObjectWithData:data options:0…