O'Reilly logo

Xcode 4 iOS Development by Steven F. Daniel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Implementing MVC using Xcode and Interface Builder

In the previous chapters, you learned about Xcode and how to use Interface Builder. You have also learned how to connect the objects in the XIB file to the code in an application via the use of Outlets (IBOutlets) and Actions (IBActions) and what we were actually doing was binding a view to a controller.

In the following section, we will take a look at what a View is and what a Controller is by building a simple Pizza Ordering application that will allow the user to make a series of choices from the menu and then calculate the total cost.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required