Are the new object literals backwards compatible with iOS 5?

ios, ios5, objective-c

Solution

If you're using Xcode 4.5 to build your sources, then yes, they're compatible with iOS 5 as long as you use the latest LLVM compiler and you build against iOS SDK 6.0.

Problem

I'm trying to figure out if I should start using the recently added object literals to subscripting dictionaries, arrays and so on. This following post seems to indicate that iOS5 doesn't support them, and I read that the functionality was added in iOS6. Is that the case? Is anybody using the new literals in iOS5 successfully?

Original source

Related problems