Home > Articles > Programming > Mac and iOS Programming

  • Print
  • + Share This
This chapter is from the book



  1. How do you differentiate class and instance methods in your code?
  2. When do you call [super init] in an initializer?

Quiz Answers

  1. Class methods begin with +; instance methods begin with –.
  2. 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.


Browse the Cocoa frameworks to see how messages are structured. Get used to the sequence of labelled parameters in the messages. If might take a while to be comfortable reading them, but remember that this is the environment in which you are going to be working.

  • + Share This
  • 🔖 Save To Your Account