Created
April 30, 2018 02:57
-
-
Save onemouth/a80fbea4544dc857267f675ce03303ba to your computer and use it in GitHub Desktop.
This file contains 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
-(void)setName:(NSString *) str { | |
[str retain]; | |
[name release]; | |
name = str; | |
} | |
- (void)setName:(NSString *)str { | |
id t = [str copy]; | |
[name release]; | |
name = t; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment