Skip to content

Instantly share code, notes, and snippets.

@ejknapp
Created June 14, 2010 22:00
Show Gist options
  • Select an option

  • Save ejknapp/438385 to your computer and use it in GitHub Desktop.

Select an option

Save ejknapp/438385 to your computer and use it in GitHub Desktop.
//
// Dog.m
// FirstCL
//
// Created by Eric Knapp on 6/14/10.
// Copyright 2010 __MyCompanyName__. All rights reserved.
//
#import "Dog.h"
@implementation Dog
@synthesize name;
-(NSString *)description {
NSString *newString = [NSString stringWithFormat:@"name: %@", self.name];
return newString;
}
-(void)dealloc {
[name release];
[super dealloc];
}
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment