<p>I have a project that is based on the Navigation Based Application template.
In the AppDelegate are the methods <code>-applicationDidFinishLoading:</code> and <code>-applicationWillTerminate:</code>.  In those methods, I am loading and saving the application data, and storing it in an instance variable (it is actually an object-graph).</p>

<p>When the application loads, it loads MainWindow.xib, which has a NavigationConroller, which in turn has a RootViewController.  The RootViewController <code>nibName</code> property points to RootView (my actual controller class).</p>

<p>In my class, I wish to refer to the object that I created in the <code>-applicationDidFinishLoading:</code> method, so that I can get a reference to it.</p>

<p>Can anyone tell me how to do that?  I know how to reference between objects that I have created programmatically, but I can't seem to figure out to thread my way back, given that the middle step was done from within the NIB file.</p>

If I understand your question, you want to reference member variables/properties in your AppDelegate object? The simplest way is to use [[UIApplication sharedApplication] delegate] to return a reference to your object.
If you've got a property called window, you could do this:
```
```
UIWindow   *mainWindow = [[[UIApplication sharedApplication] delegate] window];
//do something with mainWindow
```
```