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?