Initializers, also known as constructors in other programming languages, have two types:
Designated init and
Convenience init. They are used to initialize properties or customize a variable or object for classes or structs.
This type of the Initializer is frequently seen in Swift class, also named as primary Initializer