Chapter 6. Monitoring events and actions


This chapter covers
  • The SDK’s event modeling
  • How events and actions differ
  • Creating simple event- and action-driven apps


In the previous chapter, you learned how to create the basic view controllers that fulfill the controller role of an MVC architectural model. You’re now ready to start accepting user input, because you can send users to the correct object. Users can interact with your program in two ways: by using the low-level event model or by using event-driven actions. In this chapter, you’ll learn the difference between the two types of interactions and how to implement them. Then we’ll look at notifications, a third way that your program can learn about user actions.

Of these three models, ...

Get iOS 4 in Action: Developing iPhone and iPad Apps now with O’Reilly online learning.

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