Question

I want to put in string int and text.

I have this code: chipsS = [NSString stringWithFormat:@"%i", chips];

What to do?

Was it helpful?

Solution

stringVariable = [NSString stringWithFormat:@"%i - %@", intVariable, stringVariable];

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top