Mike on Compound Literals

Mike Ash: Friday Q&A 2011-02-18: Compound Literals: “Although Cocoa takes care of its most common types with NSMakeRect and friends, there are still places to put compound literals to good use.”

There’s a good chance I’ll use this a ton with NSRect and CGRect.

18 Feb 2011

Archive