i have a UIView [self] with 2 custome UIViews [articalBottomPanel] [movingSharePanel]
every custome view is declared in a single class
first view [articalBottomPanel] delegate's will be set to self
second view will take also [self.artical] , [self]
as here :
[self.articalBottomPanel setDelegate:self];
[self.articalBottomPanel.btnCommment addTarget:self action:@selector(commentBtnPressed:) forControlEvents:UIControlEventTouchUpInside];
[self.movingSharePanel setArtical:self.artical];
[self.movingSharePanel setParentView:self];
My dealloc is
- (void)dealloc
{
NSLog(@"ArticalViewController : dealloc");
[movingSharePanel_ release];
[articalBottomPanel_ release];
[super dealloc];
}
the problem is : when i pop the view [self] dealloc not called ?!
the question is : before pop this view [self] , is it want to do any releases more than the release at delloc ?!