Read up on the NSAutoreleasePool class. Presumably, this class calls those functions in init and dealloc, respectively.

On Aug 11, 2009, at 6:58 PM, DairyKnight wrote:

Hi,


   I've been tracing an iPhone application, and found out the
NSPush/PopAutoreleasePool pair being called every time before/after entering the event loop. I did some googling about these apis and they seem to be
undocumented.
   Anyone knows what they do? I'm not trying to use them, just want to
figure out what happens in UIApplicationMain().

   Thanks.


Regards,
DairyKnight
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/dave%40rudedog.org

This email sent to [email protected]

--
Dave Carrigan
[email protected]
Seattle, WA, USA

Attachment: PGP.sig
Description: This is a digitally signed message part

_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to