• 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: Exception raised during posting of notification
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Exception raised during posting of notification


  • Subject: Re: Exception raised during posting of notification
  • From: Sherm Pendley <email@hidden>
  • Date: Mon, 30 May 2005 22:25:06 -0400

On May 30, 2005, at 9:24 PM, Andrew Shamel wrote:

There is indeed a problem with dealloc-ing. However, the cause remains unclear to me. The object in question is being added to an NSMutableDictionary before i release it.

Well, the obvious question is whether you really needed to release the object in question after adding it to the dictionary. How did you create it? If you created it with +alloc or -copy, or sent it a - retain, you need to balance that by releasing it. Otherwise you don't.


sherm--

Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Exception raised during posting of notification
      • From: Andrew Shamel <email@hidden>
References: 
 >Exception raised during posting of notification (From: Andrew Shamel <email@hidden>)
 >Re: Exception raised during posting of notification (From: j o a r <email@hidden>)
 >Re: Exception raised during posting of notification (From: Ondra Cada <email@hidden>)
 >Re: Exception raised during posting of notification (From: j o a r <email@hidden>)
 >Re: Exception raised during posting of notification (From: Andrew Shamel <email@hidden>)

  • Prev by Date: Re: WWDC 2005 Suggestion
  • Next by Date: Cocoa binding question
  • Previous by thread: Re: Exception raised during posting of notification
  • Next by thread: Re: Exception raised during posting of notification
  • Index(es):
    • Date
    • Thread