摘要:
先看代码:@interface ViewController(){ NSObject * obj_;}@property(retain) NSObject * obj;//注意,默认是@property(atomic, ....@end@implementation ViewController@synthesize obj = obj_;- (id)init{ if(self = [super init]) { obj_ = [[Obj alloc] init]; } int n = [obj_ retainCount]; id x ... 阅读全文