"Model-View-Controller is not an inescapable law of purity, but a pragmatic principle of effectiveness."
In this chapter we will learn about Model-View-Controller, popularly abbreviated as MVC, which is a design principle based on the ideas of code reusability and separation of concerns (SoC). This architecture imposes serious constraints on the structure of an application, however, surprisingly these restrictions make it considerably easier to design and maintain the application. In this chapter we will be covering the following topics:
Understanding the Model-View-Controller paradigm
Creating a RubyMotion application using MVC
Connecting to an external API
Enhancing the application with search and images
The do-it-yourself exercise