The object will be released twice when the autoresist pool is destroyed, which is likely to be at the end of the iteration of the launch cycle. Why doesn't it crash, is that NSString returns single lists for some instances, for example, the empty string you are creating, or string literals (you should NOT depend on it, that's what is happening at the moment!), These objects will not released, and thatβs why you donβt get zombies.
Justsid
source share