Obj-C Flashcards
Subclass
A class that builds upon another class, adding additional features.
Class
The code which defines an object and what it can do.
Super/parent class
The class that another class inherits from.
Singleton
A class that is instantiated only once during the lifetime of a program.
Object/instance
A class that has been invoked and is active in your code.
Instantiation
The process of creating an active object from a class.
Instance method
A basic piece of program functionality implemented in a class.
Category
Provide a means of extending a class without modifying the class code itself.
Class method
Similar to an instance method, but applicable to all the objects created from a class.
Message
When you want to use a method in a class, you send the object a message (the name of the method). AKA calling the method
Instance variable
A storage place for a piece of information specific to a class. Rarely accessed directly and should instead be used via properties.
Variable
A storage location for a piece of information. Only accessible in the method where it is defined (unlike instance variables)
Parameter
A piece of info that is given to a method when it is messaged.
Property
An abstraction of an instance variable that has been configured using special directives to provide easy access to your code.
Protocol
Declares methods that can be implemented by a class, usually to provide functionality needed for an object.