I currently have a ItemViewController that receives an object and I use that object in the viewDidLoad() method in order to populate the fields on the view. This works fine the first time I go to the view but if the user backs out, selects another Item from the RootViewController and then goes back into the ItemViewController, the viewDidLoad() event is never fired again.
Currently, I store the ItemViewController as a property within my RootViewController and reuse it in the cell click event. Should I instead create a new instance of the ItemViewController everytime they click a row, or is there a method I can use instead of viewDidLoad() that will be executed every time a view becomes the current screen?
Currently, I store the ItemViewController as a property within my RootViewController and reuse it in the cell click event. Should I instead create a new instance of the ItemViewController everytime they click a row, or is there a method I can use instead of viewDidLoad() that will be executed every time a view becomes the current screen?