Created
September 3, 2010 00:51
-
-
Save whalec/563216 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
[[NSArray arrayWithObjects:...]; | |
is actually just | |
[[[NSArray alloc] initWithObjects:...] autorelease]; | |
It's a convenience method that means you don't need to release it since it's in the autorelease pool. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment