< Back
Page 5 of 5
This chapter is from the book
Workshop
Quiz
- How do you differentiate class and instance methods in your code?
- When do you call [super init] in an initializer?
Quiz Answers
- Class methods begin with +; instance methods begin with –.
- This is the first thing you do. You might go up through a hierarchy, but you have to have all of the superclasses created and initialized before you continue with your own.
Activities
Browse the Cocoa frameworks to see how messages are structured. Get used to the sequence of labeled parameters in the messages. It might take a while to be comfortable reading them, but remember that this is the environment in which you are going to be working.
< Back
Page 5 of 5