CocoaDev

Edit AllPages

Here is the layout for the implementation file. In this case, it is an implemenation file for the class Foo.

//First, import the header file for your class

#import “Foo.h”

// Next, put in this line which declares the name of the class. // In this case, the name of the class is Foo.

@implementation Foo

// Next, write the code for all of your instance methods

// Last, end your implementation file with the following line

@end

Back to HowToProgramInOSX