Going Deeper: Patterns and Delegates
In the last few chapters, you’ve been looking at creating “Hello, World!”–style applications that perform basic tasks, using very simple controls—the button, the label, and the image view. These introduced you to some concepts of development, including actions and outlets. In this chapter, you’ll look into more of the concepts that are regularly used in iOS development and that you’ll use extensively in this book. They are the concepts of delegates, messages, and patterns.
It probably sounds very high level and confusing at the moment, and you may not grasp it all the first time through, but don’t worry—with practice it becomes easier. We’ll warn you that this might be the most difficult chapter ...