Difference between set to nill and dealloc in objective-c
I have Object:

    MyClass *obj= [[MyClass alloc] init];

What difference between:

    [obj release]; // Only obj own this object.

and:

    obj = nil;

(Does iOS deallocs obj when i set obj = nil)
Difference between set to nill and dealloc in objective-c
===

I have Object:

    MyClass *obj= [[MyClass alloc] init];

What difference between:

    [obj release]; // Only obj own this object.

and:

    obj = nil;

(Does iOS deallocs obj when i set obj = nil)