在Swift中继承属性方法(set,get,didSet,willSet等) - Inheritance of property methods (set, get, didSet, willSet, etc.) in Swift
协议 {get set}:协议中的 get 和 set 允许和禁止什么? Swift - Protocols {get set} : What does get and set allow and disallow in a protocol? Swift