I am trying to make a CCLabelTTF
display a string and an integer together. Like this:
Your score is 0.
I've tried a few things but I usually get the warning Data argument not used by format string
, and the label doesn't output the correct statements.
I am just trying to figure out the format in which to put these in and searching Google hasn't provided much, as I'm not really sure what exactly to search.
I've tried
label.string = (@"%@", @"hi", @"%d", investmentsPurchased);
but obviously that isn't correct. How would I do this?
Thanks.