SWIFT attribute

Overview The properties related to instances in Swift can be divided into 2 categories

Store Property

Computed Property

For storing attributes, Swift has clear regulations

When creating classes or structures For example, you must set an appropriate initial value for all storage attributes