title: In objective c can a class essentially delete itself?
body: <p>In objective c, suppose I have an object <code>Obj</code> stored in a NSMutableArray, and the array's pointer to it is the only strong pointer to <code>Obj</code> in the entire program.  Now suppose I call a method on <code>Obj</code> and I run this method in another thread.  In this method, if <code>Obj</code> sets the pointer for itself equal to <code>nil</code> will it essentially delete itself? (Because there will be no more strong pointers left)  I suspect the answer is no, but why?  If this does work, is it bad coding practice (I assume its not good coding, but is it actually bad?)</p>