Objective-C Difference between setting nil and releasing
self.object = nil calls your setter, which will release the old value, set the member to nil, and possibly do other things (it’s a method, so it could do anything). The “anything” part of that is potentially dangerous; see this question, for example. [object release] releases the old value, but leaves the member as a … Read more