• 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: NSMutableDictionary not sending release message to contained objects at dealloc time
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMutableDictionary not sending release message to contained objects at dealloc time


  • Subject: Re: NSMutableDictionary not sending release message to contained objects at dealloc time
  • From: mmalcolm crawford <email@hidden>
  • Date: Fri, 11 Apr 2003 22:47:01 -0700

On Friday, April 11, 2003, at 09:52 PM, Greg Hurrell wrote:

Yeah, well... I thought he did, because if you look at what he wrote you'll notice he says nothing about objects being sent a release upon removal from a dictionary:

Yes, he did:

dict continues to exist throughout the scope of your code. You create it,
add it to an array, then remove it from the array. Its retain count is
incremented, then decremented.
[...]
Yes, you are correct here.


[Remaining summary the same as that given in article:
<http://www.stepwise.com/Articles/Technical/2001-03-11.01.html>
]

mmalc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: NSMutableDictionary not sending release message to contained objects at dealloc time (From: Greg Hurrell <email@hidden>)

  • Prev by Date: Re: NSMutableDictionary not sending release message to contained objects at dealloc time
  • Next by Date: Look at NSData
  • Previous by thread: Re: NSMutableDictionary not sending release message to contained objects at dealloc time
  • Next by thread: Re: NSMutableDictionary not sending release message to contained objects at dealloc time
  • Index(es):
    • Date
    • Thread