08-typealias in Swift Programming Language (iOS) | iOS Apps Development | iPhone | iPad | MacOSX

Опубликовано: 04 Март 2026
на канале: Swift & SwiftUI Academy
175
5

Swift typealias is used to provide a new name or alternate for an existing data type in the program.

Once you create a typealias, you can use the aliased name instead of the exsisting name(Data Type) throughout the program or file

typealias doesn't create a new data type, it simply provides a new name to the existing data type.

typealias is keyword so should use lower case letters only for writting typealias