Skip to content

Instantly share code, notes, and snippets.

@jad
Created July 27, 2011 18:10
Show Gist options
  • Save jad/1110012 to your computer and use it in GitHub Desktop.
Save jad/1110012 to your computer and use it in GitHub Desktop.
@property(retain) NSString *foo;
void setFoo:(NSString *)s {
[release foo];
foo = [s retain];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment