IPhone : How to pass a reference to UIView instance

on Sunday, April 19, 2015

I have a set of "controls" in a UIView that are displayed inside a UITableViewCell - this includes a UILabel, and some UIButtons. When a UITableViewCell is pressed, I'm displaying a new view from a different UIViewController. I want this view to include the "controls" from the UITableViewCell with the buttons/label in the exact same state as before.


What's the correct way to do this? Should I create a model that stores the state of the buttons/label and then access the model or is there an easier way?


Many thanks :)


0 comments:

Post a Comment