Created
June 3, 2009 18:13
-
-
Save probablycorey/123148 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
| id a = [NSString alloc]; | |
| id b = [a initWithFormat:@"Hello]; | |
| // a != b | |
| // [NSString alloc] just creates a placeholder object... the init classes actually do the allocating |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment