• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSPushAutoreleasePool & NSPopAutoreleasePool?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSPushAutoreleasePool & NSPopAutoreleasePool?


  • Subject: Re: NSPushAutoreleasePool & NSPopAutoreleasePool?
  • From: Ken Thomases <email@hidden>
  • Date: Wed, 12 Aug 2009 02:35:24 -0500

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 (email@hidden)

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:
This email sent to email@hidden


References: 
 >NSPushAutoreleasePool & NSPopAutoreleasePool? (From: DairyKnight <email@hidden>)

  • Prev by Date: Re: VoiceOver detection
  • Next by Date: Re: Intel Mac prefpane error
  • Previous by thread: Re: NSPushAutoreleasePool & NSPopAutoreleasePool?
  • Next by thread: VoiceOver detection
  • Index(es):
    • Date
    • Thread