Until the 10.9 SDK and the LLVM 5 compiler the following would not produce a warning or error:

NSDictionary *blah = [NSArray array];

The LLVM 5 compiler reports this as a warning.

previous SDKs make declarations like:

+ (id)array;

Read the rest of this entry »

Tags: , ,