@interfaceViewController()@property(strong,nonatomic)WeakView*weakView;@endWeakView*view=[[WeakViewalloc]init];[self.viewaddSubview:view];self.weakView=view;NSLog(@"count:---%ld",CFGetRetainCount((__bridgeCFTypeRef)_weakView));NSLog(@"count:---%ld",CFGetRetainCount((__bridgeCFTypeRef)self.weakView));为什么打印是3和4
慕少森
莫回无
相关分类