In one of my application classes (subclass of TableCell) I create some static fields that are initialized for the whole class.
As far as memory management is concerned, where should these items be released? Is there a static dealloc?
Code:
static UIImage *checkedImage = nil;
@implementation ItemCell
+(void)initialize {
checkedImage = [[UIImage imageNamed:@"checkbox_checked.png"] retain];
}
As far as memory management is concerned, where should these items be released? Is there a static dealloc?