摘要:
nil Nil 阅读全文
摘要:
MRC条件下 - (void)setDog:(Dog *)dog { if (_dog != dog) { [_dog release]; _dog = nil; _dog = [dog retain]; } } - (void)setName:(NSString *)newName { if(_n 阅读全文
摘要:
Change id to instancetype in appropriate places Change enum to NS_ENUM or NS_OPTIONS The NS_ENUM macro helps define both the name and type of the enum 阅读全文