Created
June 14, 2010 22:00
-
-
Save ejknapp/438385 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // 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