2 ms·
Array literals: This one bugged me too. Try this: #define NSDICT(...) [NSDictionary dictionaryWithObjectsAndKeys: __VA_ARGS__, nil] #define NSARRAY(...)
by cameldrv 16y ago
Array literals: This one bugged me too. Try this:
#define NSDICT(...) [NSDictionary dictionaryWithObjectsAndKeys: __VA_ARGS__, nil]
#define NSARRAY(...) [NSArray arrayWithObjects: __VA_ARGS__, nil]