Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
1. If you change the superclass of a class, what precaution do you take in building the project?
2. When do you use the @public scope?
3. How can you tell if an object has been allocated?
1. Clean the project.
2. Very rarely.
3. Using the debugger, set a breakpoint and check to see if memory has been allocated for the object.
Some of the sample code on developer.apple.com dates back a few years. Download some of the samples with modification dates from 2010 and earlier. Many of them use instance variables rather than properties. Make certain that you can understand their interfaces. Even if you switch over to properties for new projects, you will probably be modifying older code and need to understand the concepts in this hour.