Domanda

I want to put in string int and text.

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

What to do?

È stato utile?

Soluzione

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top