-dealloc

Jeff LaMarche and Daniel Jalkut discuss whether to set Objective-C ivars to nil in your -dealloc methods. LaMarche responds. Assuming reasonable quality code, I’m not sure that it makes a huge difference either way, though I tend to lean towards Jalkut’s “don’t mask symptoms” camp. Jeff Johnson makes an interesting point in a comment: As … Continue reading -dealloc