News for hackers. Stuff that matters.
Re:Stop the Hate: Obj-C Deserves Your Love by cameldrv on Tuesday July 13, 2010 @04:06PM (#1512545)
Array literals: This one bugged me too. Try this:

  #define NSDICT(...) [NSDictionary dictionaryWithObjectsAndKeys: __VA_ARGS__, nil]

  #define NSARRAY(...) [NSArray arrayWithObjects: __VA_ARGS__, nil]

There are no comments on this comment yet.