I have multiple uitableviews. I need to pass selections from these tableviews to the other tableview.
How can I do this task ?
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Normally you would have separate UITableViewControllers in each one.
If you are using storyboards then do this in prepareForSegue if you are not using storyBoards then do this after you have alloc – initWithNibName for the TVC you are about to push.
In the new TableViewController set a variable for the information you want to pass in…
And then in the VC that the first table is in set this value before pushing it.
i.e.
With Storyboard…
of without storyboards….
This is the best way of doing this.