Created
March 22, 2013 16:06
Literal Syntax Magic: Not only can literal syntax do assignment, creation, and re-assignment; it can also do addObject:
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
NSMutableArray *objects = [@[] mutableCopy]; | |
NSObject *someObject = [NSObject new]; | |
objects[objects.count] = object; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment