Swift 1.2, in beta with Xcode 6.3, makes some changes to casting. Here’s how as, as?, and as! work:
* as is for guaranteed conversions. That is, use as when the compiler can type-check that the conversion is valid; and Swift won’t compile a as cast it …