December 2013
Intermediate to advanced
132 pages
1h 58m
English
CHAPTER 5
![]()
Objects
Objects Defined
Objective-C objects are entities that contain both behavior and attributes in one place. Behaviors are coded in methods while attributes are coded in properties. Objects can also include private instance variables. Private instance variables are used when data storage is required, but not needed to be shared.
NSObject Class
NSObject is the root class in Objective-C. A class is a definition that has all the code needed to make an object’s methods and properties work. NSObject is called the root class because it has all the code needed to make objects work in Objective-C and every other class inherits from the ...
Read now
Unlock full access