4 ms·
I assume the grandparent was talking about how, as soon as the last reference to a refcounted object goes away, the object is deallocated. Pure Swift follows th
by bjustin 5y ago
I assume the grandparent was talking about how, as soon as the last reference to a refcounted object goes away, the object is deallocated. Pure Swift follows this rule though Objective-C code may not always do this due to things like autorelease pools.
- jolux 5y agoSure but that's nothing like deterministic destruction, where I can tell you the order that things will be deallocated just from looking at a block.