Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

4: Exploring the Different View Controllers

4

Exploring the Different View Controllers

WHAT YOU WILL LEARN IN THIS CHAPTER

  • Understanding the structure of a Single View Application project
  • How to create an Empty Application project and manually add a View controller and a View window to it
  • Creating views dynamically during runtime
  • Wiring up events of views with event handlers via code
  • How to switch to another View window during runtime
  • How to animate the switching of views
  • How to create a Master-Detail application
  • How to create a Tabbed application

So far you've dealt only with single-view applications — that is, applications with a single View controller for controlling the View window. The previous chapters all use the Single View Application template available in the iOS SDK because it is the simplest way to get started with iOS programming. When you create a Single View Application project, there is one View controller (named <Class_Prefix>ViewController by the iOS SDK) by default.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial