• 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: How to properly dealloc NSDictionary instance
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to properly dealloc NSDictionary instance


  • Subject: Re: How to properly dealloc NSDictionary instance
  • From: Mark Wade <email@hidden>
  • Date: Sat, 21 Jul 2007 18:10:09 -0400

>> When you add an object to a collection such as an array, dictionary, or set,
>> the collection takes ownership of it. The collection will relinquish ownership
>> when the object is removed from the collection or when the collection is itself released.


Oh, guess that answers that.

Thanks much.

>> <http://developer.apple.com/documentation/Cocoa/Conceptual/ MemoryMgmt/Articles/mmPractical.html#//apple_ref/doc/uid/TP40004447- DontLinkElementID_15>

>> 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


References: 
 >How to properly dealloc NSDictionary instance (From: Mark Wade <email@hidden>)

  • Prev by Date: Re: Issues with LSOpenFromRefSpec
  • Next by Date: Re: Best way to draw NSBezierPath to CIImage
  • Previous by thread: Re: How to properly dealloc NSDictionary instance
  • Next by thread: Re: How to properly dealloc NSDictionary instance
  • Index(es):
    • Date
    • Thread