On 13/05/14 13:46, Kagamin wrote:

BTW, I don't see how ARC would be more able to call destructors, than
GC. If ARC can call destructor, so can GC. Where's the difference?

The GC will only call destructors when it deletes an object, i.e. when it runs a collection. There's no guarantee that a collection will happen. With ARC, as soon as a reference goes out of scope it's decremented. If the reference count then goes to zero it will call the destructor and delete the object.

--
/Jacob Carlborg

Reply via email to