Learn efficiently and remember over time.
Start Long-Term Learning
Add this set to a folder
procedural programming language
A language in which programs are defined by procedures and functions that operate on a set of data
What is an object?
A set of variables and associated methods. An object can be sent messages to cause one of it methods to be executed.
Data for an object is sotred in its instance variables and is accessed only by the object's methods. This maintains data integrity.
Holds a memory address "pointing" to the location of the object's data in memory
Combine three-line sequence to declare, allocate, and initialize?
ClassName *newInstance = [[ClassName alloc] init];
Syntax for using methods in Objective-C
[ClassOrInstance method]; [receiver message]; [receiver message: input];
A unique occurence of class. A concrete representation of a class. Instances are objects, typically created by sending an "alloc" or "new" message to a class object