News for hackers. Stuff that matters.
Re:Objective-C literals for NSDictionary, NSArray, and NSNumber by boucher on Sunday February 19, 2012 @04:37PM (#3610505)
We've been talking about similar changes to Objective-J for quite some time (we already have JavaScript literals that map more cleanly than C ones). The one thing we've discussed that I don't think made it here is a set literal. It would be nice to have sets treated in a more first class way, considering how often arrays are used when sets would be more appropriate.
Re:Objective-C literals for NSDictionary, NSArray, and NSNumber by zoul on Monday February 20, 2012 @12:42AM (#3611449)
Indeed. Even [NSDictionary allKeys] returns an array instead of a set.