Created
October 5, 2011 11:59
-
-
Save joubertnel/1264285 to your computer and use it in GitHub Desktop.
macros for faster NSArray and NSDictionary instancing
This file contains 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
#define ARRAY(...) [NSArray arrayWithObjects:__VA_ARGS__, nil] | |
#define DICT(...) [NSDictionary dictionaryWithObjectsAndKeys:__VA_ARGS__, nil] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment