Question

I want to put in string int and text.

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

What to do?

Était-ce utile?

La solution

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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top