On the first view. I have a UItable. When i tap one of the cell(eg chicken), it will go to child(subview) and display the details(chicken color).
Any good advise or tutorial how to do this?
Thank you very much.
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.
Get a good book.
Basically, you push a new View Controller using
You call this from the
UITableViewDelegatemethod calledThis method gets called whenever the user taps a cell in a
UITableView.To pass data, you either use a custom init method, for instance
or you use an instance variable and set it like so