3 ms·
Worth noting that an autoreleased object which you haven't retained will have a ref count of 1, so they are not an exception to the "freed when the ref count is
by DougBTX 16y ago
Worth noting that an autoreleased object which you haven't retained will have a ref count of 1, so they are not an exception to the "freed when the ref count is zero" idea.
- pdhborges 16y agoYes, but if the object fall into the default autorelease pool you have no way to control when the memory is going to be released (at least without risking a segfault).