I have an int representing lives.
NSString* lifeString = [NSString stringWithFormat:@"%d",lives];
However it outputs:
1
2
3
..
10
...
I need:
01
02
03
..
10
...
I know I can do this with an if statement, but I am wondering if NSString might have a clever way to do it.
Thanks