Quote:
Originally Posted by coondog
What I'm hazy about is where to create the instance and initialize it's data if multiple views rely on that object at any given time during the app's lifecycle.
|
So applicationDidFinishLaunching in your app delegate is a good place to set up any controllers that you want to use. And then have those controllers set up whatever model objects are needed.
And then if you keep references to the controllers in the app delegate, then it's very easy to get those references from any view controller, since a pointer to the app delegate is always easily available.