Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
1. How do you make certain that a message you are sending is valid?
2. NSInvocation converts an Objective-C message to what?
1. Package it in a selector and test it against the receiver with respondsToSelector.
2. An object.
Explore the sample code on developer.apple.com to see how you can use selectors. Good choices are the following:
• NSInvocation—CubePuzzle (Mac OS X), GeocoderDemo (iOS)
• performSelector—QuickLookSketch (Mac OS X), WorldCities (iOS)