O'Reilly logo

The Complete Idiot's Guide® To iPad and iPhone App Development by Troy Brant

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Objects

There are a couple root-level types of objects you should know : NSOb j ect and id.

NSObject

Most objects you encounter in iPhone programming inherit from the same root superclass: NSObject. NSObject is one of the core classes provided by the Foundation framework, and among other things it provides the basics of memory management. Memory management is covered in detail in the next chapter, but for now, you should know that NSObject will be the root node of your class hierarchy most of the time.
099
DEFINITION
Foundation is a Cocoa Touch framework that defines the building blocks for your Objective-C classes. The framework includes the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required