Skip to content

Instantly share code, notes, and snippets.

@dlinsin
Created August 6, 2010 07:43
Show Gist options
  • Save dlinsin/511002 to your computer and use it in GitHub Desktop.
Save dlinsin/511002 to your computer and use it in GitHub Desktop.
// Person.h
@interface Person {
NSString *name;
}
@property (retain) NSString *name;
@end
// Person.m
#import "Person.h"
@implementation
@synthesize name;
// other stuff
- (void) dealloc {
[name release];
name = nil;
[super dealloc];
}
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment