// // SomeObject.m // #import "SomeObject.h" @implementation SomeObject - (id)init { if (self=[super init]) { things=[[NSMutableArray arrayWithObjects:@"one",@"two",@"three",nil] retain]; someOtherThings=[[NSDictionary alloc] init]; } return self; } -(void)dealloc { [things release]; [someOtherThings release]; [super dealloc]; } @end