import Foundation
let x = NSString()
let y = x as String
let z: String = x // error: 'NSString' is not implicitly convertible to 'String'; did you mean to use 'as' to explicitly convert?
and also the other way around
import Foundation
let x = String()
let y = x as NSString
let z: NSString = x // Cannot convert value of type 'String' to specified type 'NSString'