• 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: Cannot Remove Observer Error [The Quest Continues]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cannot Remove Observer Error [The Quest Continues]


  • Subject: Re: Cannot Remove Observer Error [The Quest Continues]
  • From: email@hidden
  • Date: Tue, 06 May 2008 03:13:09 +0000

Thaddeus,

Could it be that your array controller is set to automatically prepare content?  I was having this problem when I saw this in the archives.

I was able to solve it by turning of the prepares content checkbox in IB (or calling [NSArrayController setAutomaticallyPreparesContent: NO]).

- Michael James

>Subject: Re: Cannot Remove Observer Error [The Quest Continues]
>From: Thaddeus Cooper <email@hidden>
>Date: Thu, 17 Apr 2008 17:48:38 -0700
>So I have done more digging to try and understand what is going on with this problem. I added addObserver and >removeObserver methods to the array controller and the wine object to see what was being set and removed. It turns >out that the array controller is telling the wine object to remove the observer for "favorites" but I can see that it never >gets set -- which makes me wonder -- why would the array controller try and remove something it never set...
>
>If anyone has any thoughts I'd be greatful.
>
>Thanks again.
>
>Thaddeus O. Cooper
>(email@hidden)
_______________________________________________

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

  • Prev by Date: RE: Threading - How its done?
  • Next by Date: Re: Cached text output is flippin' flipped! [SOLVED]
  • Previous by thread: Re: Threading - How its done?
  • Next by thread: Setting intercell spacing in NSBrowser
  • Index(es):
    • Date
    • Thread