I am adding a nil object to autorelease pool. But it is not crashing the application. Why?? Any one can give an explanation for this please? The code I tested given below,
UIView *testView = nil;
[testView autorelease];
Thanks,
Augustine P A
Sending any message to
nilalways results in nothing happening. Noautoreleasemethod gets called — the message dispatch mechanism stops immediately when the receiver isnil.