I have a following code:
NSLog(@\"%d\", [chart retainCount]);
self.chart = [[BNPieChart alloc] initWithFrame:self.view.frame];
NSLog(@\"%d\", [chart retainC
There are 3 possible problems I see:
chart property, it was synthesized with a retain attributeretain in a self-implemented getter methodBNPieChart or its superclass's designated initializer had a retain in the initializer.Have you seen the code for BNPieChart and its non-Cocoa superclasses? If you can, try to post the initializer code.