I have a following code:
NSLog(@\"%d\", [chart retainCount]); self.chart = [[BNPieChart alloc] initWithFrame:self.view.frame]; NSLog(@\"%d\", [chart retainC
chart is probably a retained property, that's why you have 2 retainCount. That's why you can see some declaration like that :
BNPieChart *aChart = [[BNPieChart alloc] initWithFrame:self.view.frame]; self.chart = aChart; [aChart release];