[swift2objc] Support Computed Properties and Property Observers (i.e get
, set
, willSet
and didSet
)
#1932
Labels
get
, set
, willSet
and didSet
)
#1932
This issue is to implement support for Computed Properties and Property Observers
Computed Properties contain syntax for getting and setting properties in a compound declaration:
get
andset
.When it comes to Property Observers, they are called when properties are to be assigned. There are two:
willSet
anddidSet
.From https://docs.swift.org/swift-book/documentation/the-swift-programming-language/properties
Getters and setters in structures and classes are usually already defined before-hand, while those in Protocols are not.
The text was updated successfully, but these errors were encountered: