Class
TypeConversion
Type conversion operation. This root class is used for aliases/equal type conversions, i.e., casts are no-ops.
class TypeConversion
Topics
Operators
Equality check for a type conversion. Two conversions are considered equal if they have the same name and C type.
Initializers
Designated initialiser for a type conversion
Instance Properties
Instance Methods
Swift code for converting from the target type without cast.
Swift code for converting to the target type without cast.
Hashes the essential components of this type cast by feeding them into the given hasher.
Default Implementations
Relationships
Inherited By
Conforms To
See Also
Type system
Representation of a fundamental type, its relationship to other types, and casting operations
Representation of a string type, its relationship to other types, and casting operations
Representation of a raw pointer type, its relationship to other types, and casting operations
Representation of a record type (struct or class), its relationship to other types, and casting operations
Representation of a generic type (struct or class), its relationship to other types, and casting operations
Representation of a opaque pointer type, its relationship to other types, and casting operations
Parent/Child class conversion operation
Parent/Child class conversion operation with optional upcast
Custom type conversion operation
Nested type conversion operation
Enum type conversion operation.
Bit field (OptionSet) type conversion operation.
Raw pointer conversion