Pregunta

I want to put in string int and text.

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

What to do?

¿Fue útil?

Solución

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

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top