In the Stanford iPhone course CS193P assignment 2 (free online course), the step through says to add the model into the NIB via Cocoa Touch Plugin -> Controllers -> Object. Is this for initialization purpose only? Why can’t I just instantiate and initialize my model in the awakeFromNib method within the controller class itself?
In the Stanford iPhone course CS193P assignment 2 (free online course), the step through
Share
You shouldn’t really be creating model objects in IB. NIBs should really be exclusively for controllers and views. You then write code to create and link models and controllers