Tagged Questions
2
votes
2answers
276 views
What is Delegation and why is it important in iOS programming?
At the moment I am teaching myself iOS programming, and one concept I find really hard to wrap my head around is delegation. What is it? Why and how is it used? What is the advantage? The technical ...
11
votes
2answers
795 views
MVCS - Model View Controller Store
I recently decided to start learning iOS Development, and to this end I’ve been reading iOS Programming: The Big Nerd Ranch Guide. In the book the authors describe a design pattern MVCS - ...
4
votes
3answers
161 views
Where do the parser and service objects fit in MVC?
Do NSURLConnection service objects and XML/JSON parser objects fall within the controller layer or the model layer? Why?
Is it OK to have business logic in the controller? Or should it be in the ...
7
votes
2answers
750 views
How to avoid big and clumsy UITableViewController on iOS?
I have a problem when implementing the MVC-pattern on iOS. I have searched the Internet but seems not to find any nice solution to this problem.
Many UITableViewController implementations seems to ...
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 ...
5
votes
1answer
514 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 ...