Frage

I want to put in string int and text.

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

What to do?

War es hilfreich?

Lösung

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top