I want to have a NSMutableDictionary
that will pull it's data from the web, and will be available from any view controller in the app.
In other words, I should be able to get and set the info in that dictionary
in any part of the app.
I've read several solutions to this, one being to create an .h file that will contain that dictionary, and then add that .h file to the .pch so it will be available anywhere.
And the second option was to create the dict in AppDelegate
, however people said it's a bad solution.
Please advise on the best way to do this. Thanks!