2015
Lynda
Ron Buencamino
0:50
English
There are three common patterns for passing data from one class to another in iOS and OS X apps: delegation, Notification Center, and key-value observation. This short course provides an overview of the methods, a list of their pros and cons, and tips for implementing the method of your choice with Objective-C. There's no one right way, but author Ron Buencamino will help you understand the best communication method for your app and development environment.
Introduction
Welcome
What you should know before watching this course
Using the exercise files
What we'll build
1. Understanding Key-Value Observation
What is key-value observation?
Using key-value observation
Pros and cons of key-value observation
Implementing key-value observation in Objective-C
2. Understanding the Notification Center
What is the Notification Center?
When should the Notification Center be used?
Pros and cons of the Notification Center
Implementing the Notification Center in Objective-C
3. Understanding Delegation
What is delegation?
When should delegation be used?
Pros and cons of delegation
Writing your own Delegate Protocol
Conclusion
Next steps
Download File Size:148.06 MB