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 PROTECTED]>
>Date: Thu, 17 Apr 2008 17:48:38 -0700
>Delivered-to: [EMAIL PROTECTED]
>Delivered-to: [EMAIL PROTECTED]
>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 PROTECTED])
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to