• 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: defaultCenter's addObserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: defaultCenter's addObserver


  • Subject: Re: defaultCenter's addObserver
  • From: j o a r <email@hidden>
  • Date: Tue, 7 Oct 2008 14:58:04 -0700


On Oct 7, 2008, at 12:03 PM, John Love wrote:

2008-10-07 14:36:14.149 Calculate Medical[265:10b] *** -[NSCFSet calcStatusChanged:]: unrecognized selector sent to instance 0xe41f250


John,

This type of error message indicates that your notification observer has been deallocated. This would probably be because you forgot that you have to remove notification observers before they are deallocated. In many cases you would put your unsubscribe statement in your dealloc method.

It could also indicate any other type of memory management error. NSZobieEnabled is the general facility for troubleshooting that type of problem, but in this case you could probably do with simple code inspection.

j o a r


_______________________________________________

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: defaultCenter's addObserver
      • From: John Love <email@hidden>
References: 
 >defaultCenter's addObserver (From: John Love <email@hidden>)
 >Re: defaultCenter's addObserver (From: j o a r <email@hidden>)

  • Prev by Date: Trouble with NSSplitView
  • Next by Date: Re: Wasted Space and Kernighan
  • Previous by thread: Re: defaultCenter's addObserver
  • Next by thread: Re: defaultCenter's addObserver
  • Index(es):
    • Date
    • Thread