Dealloc method in iOS and setting objects to nil

Viewed 17562

I have a pretty basic question. In some examples I've seen, objects are just released in the dealloc method. In others, the objects are released and then set to nil. Is there a reason for this? Is setting to nil after releasing advantageous?

4 Answers
Related