Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
I’m going to show you some examples of how to create basic classes, but at this point you can just follow along and take in the examples. You don’t need to actually create the files until the final example at the end of the chapter.
An Objective-C class is usually made up of two files. The instance variables and methods are declared in the ClassName.h file, and the method implementations are in the ClassName.m file. Here’s what the Photo.h header file looks like for the Photo class: