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

Chapter 9. Designing Applications Using MVC

Chapter 9. Designing Applications Using MVC

New Mac and iPhone programmers seem to have a set life cycle. The early part of the learning process is getting used to Objective-C and maybe some basic memory management. But that’s just learning how to use your tools. The next step is figuring out how to arrange your classes and get them to talk to each other.

The first question new Cocoa programmers ask me when they get to this stage is: “How do I send data between classes?” There’s no magic sendDataToClass method or anything like that. Instead, you use Model-View-Controller, or, more commonly, MVC. This isn’t a class—it’s a mindset.


  

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


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint