• 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: NSDictionary, allKeys and the NSAutoreleasePool
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSDictionary, allKeys and the NSAutoreleasePool


  • Subject: Re: NSDictionary, allKeys and the NSAutoreleasePool
  • From: mmalc Crawford <email@hidden>
  • Date: Thu, 03 Sep 2009 11:29:57 -0700


On Sep 3, 2009, at 7:56 AM, Scott Andrew wrote:

As Cocoa documentation states all items returned from a message are autoreleased unless otherwise stated in the documentation for the API call.

The documentation emphatically does not state that.

The basic rules are given here:
<http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/MemoryMgmt/Articles/mmRules.html#//apple_ref/doc/uid/20000994-BAJHFBGH >


The rest of the document gives further details.

mmalc

_______________________________________________

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


  • Follow-Ups:
    • Re: NSDictionary, allKeys and the NSAutoreleasePool
      • From: Scott Andrew <email@hidden>
References: 
 >NSDictionary, allKeys and the NSAutoreleasePool (From: Horst Jäger <email@hidden>)
 >Re: NSDictionary, allKeys and the NSAutoreleasePool (From: Scott Andrew <email@hidden>)

  • Prev by Date: Re: Distinguishing between return and enter in NSTextField
  • Next by Date: Re: watch changes to any properties on an object
  • Previous by thread: Re: NSDictionary, allKeys and the NSAutoreleasePool
  • Next by thread: Re: NSDictionary, allKeys and the NSAutoreleasePool
  • Index(es):
    • Date
    • Thread