Swift Tutorials: Properties in swift, kind of properties stored computed and type properties

In this video, we will learn about different kind of properties used in swift language. Properties are the values associated with class, structure and enum. We have 3 kind of properties in swift language

1) Stored property : Values are stored as a constant or variable.
2) Computed property: Values in this kind of property are provided as a calculation of other properties and it has getter and optional setter.
3) Type property: This kind of property is used with keyword Static and thus can be accessed with the help of type of class and not with the help of instance of class.(Will get more clearer in example shown)

We will look at each property kind with example.

Post Author: hatefull