I'm working with some Objective-C code, and I was wondering..I noticed, while learning about NSNotificationCenter, that it's generally good practice to remove an NSNotificationCenter observers on dealloc. However, in the case of using an auto release pool - is this taken care of, or do I still need a dealloc method for it?
- (void) dealloc {
[[NSNotificationCenter defaultCenter] removeObserver:self name:XBPageCurlViewDidSnapToPointNotification object:nil];
}
Thanks in advance!