So i’m working on an iPad window based app at the moment. There will be a number of views where I will want to pass some simple data between, mainly strings (id’s) to tell the next view what to load.
Just wondering how to go about this? I’ve come across this < http://idisk.mac.com/DChampney-Public/ViewControllerDataSharing.zip > solution which seems like the best but I am caught for time and it might be a little overkill for me at the moment.
Would it be ok to create a string in the appdelegate where I can store the id to be read by the next view?
Any ideas welcome..
Thanks.
Do not use AppDelegate as the bag-of-data for your application. It’s painful to change, bad design, and hard to read.