KVO的實現原理

KVO的實現原理 kvo的使用java // 頭文件 #import "HMPerson.h" - (void)viewDidLoad { [super viewDidLoad]; // 運行時機制:runtime HMPerson *p = [[HMPerson alloc] init]; p.age = 20; // 用KVO監聽p對象age屬性
相關文章
相關標籤/搜索