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

   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.

They are not APIs, which is why they are not documented. API stands for Application Programming Interface. Those functions are not intended for applications to call. They are presumably SPI, which stands System Programming Interface. The latter are private to the implementers of the system; they are internal to the frameworks.

Since those functions are not intended for applications or other non- Apple code to invoke, why would you expect them to be documented? Any library or framework is bound to have many more functions meant for internal use than functions intended as external interface to the functionality provided by the library or framework. If you're going to seek to understand how all of those internal functions work, you're going to make a whole lot more work for yourself for essentially no benefit.

Regards,
Ken

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to