Skip to content

Instantly share code, notes, and snippets.

@BrandonCopley
Created August 20, 2012 19:06
Show Gist options
  • Select an option

  • Save BrandonCopley/3406774 to your computer and use it in GitHub Desktop.

Select an option

Save BrandonCopley/3406774 to your computer and use it in GitHub Desktop.
Literals for obj. c
NSObject *myObject = [[NSObject alloc] init];
NSNumber *number = @5;
NSArray *array = @[myObject,@"string",@(YES),@3.14159,@15];
NSDictionary *dictionary = @{@"object":myObject};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment