Is there a way to have a reference of the parent tableView from the tableview’s cell?
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.
You can add this method to your custom subclass of UITableViewCell:
If you’re not subclassing UITableViewCell, just replace
selfin the code above with your reference to a UITableViewCell.