I'm working through Aaron Hillegass' Cocoa Programming for Mac OS X 3rd Edition and have a question on Chapter 8 (NSArrayController) In MyDocument.m, in the dealloc method, instead of releasing the employees array, its instead set to nil. What's the reasoning behind this?
Code:
- (void)dealloc
{
[self setEmployees:nil];
[super dealloc];
}