Wednesday, July 04, 2012

Some iPhone Development Stuff

I was working on coding some Water-Fuel display systems that needed floating point numbers converted to a 2 decimal place display for the UI.

NSString* formattedNumber = [NSString stringWithFormat:@"%.02f", myFloat];
This came from a great Stackoverflow question here:

When I'm making lots and lots of model objects from existing applications, I often want to generate Objective-C from JSON or GSON. I use for that.

Trying to figure out some stuff about Apple's in-app purchasing system I learned a lot from reading which is an excellent tutorial on an excellent site.

No comments: