To be specific, I'm talking about writing a dealloc like so:
-(void)dealloc
{
self.myvar = nil;
[super dealloc];
}
I understand this goes against Apple's recommendations. I also understand that it can cause issued with KVO as well using the setter on a partially deallocated object. But if I'm making the calls in this order (ie: setters first, then the [super dealloc]) is there any risk in doing this? I'm trying to understand exactly what the dangers are, and specifically why this is a Bad Thing(tm). Thanks....