part of my app does this:
MainView -> UITableView --> DetailView.
I am currently implementing the protocol way to pass data btw views
as in the answer of this question: iphone - How to pass data back from detail view controller to uitableview? - Stack Overflow
However I was thinking, how about using NSUserDefaults to do this?
For example, when I selected something in the "detailview" can I just
save it to NSUserDefaults, and then upon returning to MainView,
I just load the NSUserDefaults back up to update whatever.
Would it work? Or perhaps the correct question, is there a case
where it will not work?
Thanks for any inputs.
Post edited by rocotilos on