I have 5 buttons. Each button has some value like 1,2,3,4,5
in a string named totalSeats_selected
.
I want to save them into a nsstring
that shows result like this:
nsstring * result = [1,2,3,4,5];
These values are to used as request for a web service, so it must be in this format to send total number of seats?
So, how to save all these values in nsstring
on button event?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…