Integer Example - i
suggest changeint highScore = 57;
NSString *scoreBoard = [NSString stringWithFormat:@"HighScore: %i", (int)highScore];
NSLog(@"%@", scoreBoard); // logs "HighScore: 57"
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents