I\'ve learned that in dealloc
you do [object release];
but in viewDidUnload
(in a UIViewController subclass) you do self.object
If you just release an object, then it will become freed object.
And if you try to perform any sort of operation on freed object then your app crashes. To avoid such accidents, it is always preferred "assign your object to nil after releasing it". Because we all know any operations performed on nil will not be executed :)