Re: Cannot Remove Observer Error [The Quest Continues]
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