I have a following code:
NSLog(@\"%d\", [chart retainCount]); self.chart = [[BNPieChart alloc] initWithFrame:self.view.frame]; NSLog(@\"%d\", [chart retainC
You chart property defined as retain or copy, so:
self.chart = [[BNPieChart alloc] initWithFrame:self.view.frame];
+1 retain at alloc ([BNPieChart alloc]) +1 retain at assignment (self.chart = )
[BNPieChart alloc]
self.chart =