关于「类型转换」(Type Casting),<The Swift Programming Language>描述如下: Type casting is a way to check the type of an instance, and/or to treat that instance as if it is a different superclass or subclass from somewhere else in its own class hierarchy. 在Swift中…