3. Views and View Controllers

MonoTouch and the CocoaTouch foundation it builds upon are based on a few fundamental classes and patterns. In this chapter, we’ll look at how to construct an application in MonoTouch that follows these patterns using the building block classes that are part of UIKit, UIView, and UIViewController.

Structuring a MonoTouch Application to MVC

MonoTouch applications that use UIKit are typically constructed using UIViews and UIViewControllers. These are the primary classes used to structure an iOS application that follows the Model-View-Controller (MVC) design pattern.

Applications can often benefit from a separation of concerns between the domain-specific information that an application (or applications) makes use of ...

Get Learning MonoTouch: A Hands-On Guide to Building iOS Applications with C# and .NET now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.