good examples of model-view-controller
<p>I'm new to Objective-C and the iPhone and thought I was getting the hang of it until, after many play apps, I ran into a really basic problem around MVCs, NIBs and IB. Are there any really clear explained examples of how to follow this framework that I could go back to?</p>

<pre><code>@interface test1ViewController : UIViewController {

    IBOutlet myView *myview;
    IBOutlet myModel *mymodel;
}
</code></pre>

<p>Both the views and models are linked in by IBOutlets but instantiating the model object either kills the application or produces an object which does not respond to any messages. </p>

<p>I am also unclear as to where to carry best out initialisations. I currently do this over viewDidLoad in the view controller. Is there a standard way to do this and does the simulator actually always start up in the same way? Should one use awakeFromNib? Does it make any difference if I use plain code or the IB? And if I have use the IB, should it include a model object?</p>

<p>The MVC idea would make good sense for me here because I have potentially several views and view controllers all feeding back into - and sharing - one common central data model. Any references or advance on this newbie problem would be more than welcome!</p>
