Tagged Questions
5
votes
1answer
510 views
How can I manage my ViewControllers in my game?
I'm building a very simple iOS game that doesn't require any fancy OpenGL; I'd like to stick with Core Graphics & Core Animation. I'd like to make this a fullscreen game, and my question is of ...
5
votes
2answers
864 views
Observing MVC, can/should the Model be instantiated in the ViewController? Or where?
I'm writing an experimental iPhone app to learn about the MVC paradigm. I instantiate my Model class in the ViewController class. Is this stupid?
I'm asking because storing the id of the Model class, ...
1
vote
2answers
162 views
Let a model instance choose appropriate view class using category. Is it good design?
Assume I have abstract base model class called MoneySource. And two realizations BankCard and CellularAccount. In MoneysSourceListViewController I want to display a list of them, but with ListItemView ...
1
vote
2answers
1k views
Is this a proper implementation of an iOS MVC pattern?
After browsing the apple docs, I came across this sample of their MVC pattern:
Using NSNotificationCenter and without using KVO, would this diagram below represent a correct implementation of the ...