Objective C Basics Swarm User Guide Prev Chapter 3. Nuts and Bolts of Object-Oriented Programming Next 3.2. Objective C Basics 3.2.1. The variable type that is added by Objective C is id .
All objects can refer to themselves by using the label self .
This is necessary if, in the code that defines the object, the programmer wants to make the object execute one of its methods. For example, suppose an object has a method called updateRecords . All objects can refer to superclass by the name super . If you look in a directory where some Objective C Swarm code resides, you will see files in pairs, such as ObserverSwarm.h and ObserverSwarm.m , ModelSwarm.h and ModelSwarm.m , and so forth. The variables defined in this list can be used by any of the methods defined for the class.