Objective-C starts getting prettier
20 Feb 2012Objective-C supports Array, Dictionary and Number Literals in OS X 10.8
Previously:
array = [NSArray arrayWithObjects:a, b, c, nil];
Now:
array = @[ a, b, c ];
Ooooh, yes please. Long overdue. Obj-C is probably my favorite dialect of C so far, but some of its syntax is seriously eyeball-smashing.