News for hackers. Stuff that matters.
Re:In defence of Objective-C by stephth on Monday October 17, 2011 @06:18AM (#3119911)

  #define KV(KEY,VALUE)   VALUE, KEY

  myDict = MD(KV(key,val), KV(key2,val2));
Ugly but a case can be made that this end justifies the means.

Another option is implementing your own dictionaryWithObjectsAndKeys where you flip the varargs and feed them back into the subclass dictionaryWithObjectsAndKeys.

There are no comments on this comment yet.