title: Where do you put global application data in an iPhone app?
body: <p>I have an app that allows the user to view, manipulate and manage a collection of Schedule objects. Different parts of the app need access to this data. I've experimented with making the collection a singleton, but I didn't find that very clean.</p>
  
  <p>I recently changed to storing the global data in the AppDelegate class and using:</p>
  
  <pre><code>MyAppDelegate *delegate = [[UIApplication sharedApplication] delegate];
  [delegate.myGlobalData doSomething];
  </code></pre>
  
  <p>Which eliminates the need for my global data to be a singleton, but is really just taking advantage of the UIApplication singleton.</p>
  
  <p>There really isn't just one primary view controller where it makes sense to store it in my case. So I was wondering what different strategies people use to address this.</p>