I’m working through chapter 1. Sorry I can’t say what page because there are no page numbers on Kindle version.
I note that the apps ‘View’ variables, objects and methods are programmatically controlled with/contained within the QuizViewController.xib. Makes sense.
I also note that the ‘Contoller’ methods and variables (eg: IBActions showQuestion and showAnswer’ and NSSstrings *question and *answer )are contained within the QuizViewControler.m file. Also makes sense.
If we were staying true to the Model-View-Controller paradigm where never the three shall meet programatically, shouldn’t the apps ‘Model’ details/objects/methods/varialbes be contained in a third file. The question/answer array is part of the apps model right (see Figure 1.12). Shouldn’t they be declared, instantiated another file/object/method rather than witin the initWithNibName function contained in the SAME QuizViewController.m file?
Just say’n? Or am I missing something here?