Reputation: 5082
I don't think I'm crystal clear on the connection between gettable, settable and stored property and computed property.
Can I say that the gettable is somehow related to stored property and settable is somehow related to computed property
Thanks so much for your time and help for a beginner like me
Upvotes: 1
Views: 360
Reputation: 63272
Computed properties:
get
and optional set
method that can be overriddenwidth
and height
stored propertyStored properties:
willSet(_:)
and didSet(_:)
method that can be overridenwidth
and a height
of a rectangleUpvotes: 5