我试图在我的自定义 UIViewController 上实现属性观察器,但我注意到它不适用于 isEditing 属性。
你们知道为什么吗?
class MasterViewController: UIViewController {
// MARK: - Properties
override var isEditing: Bool {
didSet {
print("VC is editing")
}
}
}