Properties by Example - Swift Programming Language
* Properties associate values with a particular class, structure, or enumeration. * Suppose if we need to change or access an iVar in your class using an object of your class, then there should be getter and setter methods assigned to the iVar. * A property is used mainly when other objects need