Tuesday, August 21, 2012

Xcode how to Concat string and integer together for Noob

Here is how to Concat string and integer together for Noob


NSString *temp = [NSString stringWithFormat:@"Your Money: $%d, Price now is: $%d", money, price];


So your String is "Your Money:$, Price now is:$ " and your integer is money and price


No comments:

Post a Comment