سؤال

I want to put in string int and text.

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

What to do?

هل كانت مفيدة؟

المحلول

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

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top