0

假设我已经继承了一个 Cocoa 类或 Foundation 类。在我的情况下CALayer

class MyLayer: CALayer {
    ...
}

现在我想为类的属性添加一个didSet观察者。那可能吗?positionCALayer

4

0 回答 0