My Blog List

Tuesday, May 31, 2011

STudy Notes: Other Design Patterns, Protocols, and Summary of Mechanisms



* Last part of chapter 7 reviews the other design patterns (besides MVC). Most significantly for me, is that the authors refer to protocols. I have been challenged by protocols in the past

* "When a framework object has been designed to use delegates to implement certain behaviors" (p 153 the behaviors it requires are defined in a protocol.
 Protocols define an interface that the delegate object implements."

* Protocols can be formal or informal. If I use formal protorcols I only have to implement the methods that I need.

*Ways to customize an apps behavior with UIKit include:

•Subclassing
•Delegation
•Target-Action
•Block Objects

Author suggests using his summary cheat sheet at www.dummies.com/cheatsheet/iphoneapplicationdevelopment


No comments:

Post a Comment