Now to better understand MVC we will create a
restro application. This application will search restaurants in a city. Does the world need another restaurant application? No, but that won't stop us from writing one. On a serious note, it will help us to explore many features of RubyMotion and will also help us learn and master MVC.
Let's understand what we are going to do in this application. A restaurant application will list out the eat outs, which we can search based on the city. The list of places will have a thumbnail image along with information related to the restaurant.
It's good practice to imagine views of your application in the form of a mockup. The best way to do this is by using a white board with illustrations that you envision for your application.
You must be wondering where all this data will come from. Do I need to hardcode it right into my application? That does not make sense! To begin with, we will hardcode the values; but later on, as we proceed...