Monday, June 4, 2012

Obj-C Notes on Using Separate files



Three files for interface, implementation, and main program.


ExampleClass.h
contains @interface ExampleClass
all member variables + methods declared
ExampleClass.m
contains @implementation ExampleClass
methods defined
MainProgram.m
#import "CustomClass.h"
#import <StandardClass/StandardClass.h>

- BE


No comments:

Post a Comment