Google News
logo
IOS - Interview Questions
What is an autorelease pool?
Every time : autorelease is sent to an object, it is added to the inner-most autorelease pool. When the pool is drained, it simply sends – releases to all the objects in the pool.

Autorelease pools are a convenience that allows you to defer sending - release until “later”. That “later” can happen in several places, but the most common in Cocoa GUI apps is at the end of the current run loop cycle.
Advertisement