How to use typealias in swift ?

typealias also known as type-Identifier. so basically we are defining a substitute of a type. For example we can give type of String to Str as – typealias Str = String so now onwards you can use Str instead of String 1. Basic Example with data type You might thinking what’s the big thing in …

How to use typealias in swift ? Read More »