News for hackers. Stuff that matters.
Re:First Glance at Objective-C and the iPhone SDK (by a Java... by chc on Wednesday January 26, 2011 @03:12PM (#2144914)
The drain method releases the pool itself — it's precisely equivalent to release. This does release the objects in the pool as well, but a lot of people seem to think that drain leaves the pool valid. (The reason it was introduced is so the same method could be used in non-GC and GC code, where release is turned into a noop.)

There are no comments on this comment yet.