Graphics Programs Reference
In-Depth Information
Creating the BNRItem class generated two files: BNRItem.h and BNRItem.m . Locate
those files in the project navigator. BNRItem.h is the header file (also called an interface
file). This file declares the name of the new class, its superclass, the instance variables
that each instance of this class has, and any methods this class implements. BNRItem.m
is the implementation file, and it contains the code for the methods that the class imple-
ments. Every Objective-C class has these two files. You can think of the header file as a
user manual for an instance of a class and the implementation file as the engineering de-
tails that define how it really works.
Search WWH ::




Custom Search