On 29/09/2012, at 18.49, cocoa-dev-requ...@lists.apple.com wrote:
> Message: 5
> Date: Sat, 29 Sep 2012 13:48:40 +0200
> From: Willeke <willeke2...@gmail.com>
> To: Cocoa-Dev List <Cocoa-dev@lists.apple.com>
> Subject: Re: NSPredicate / NSArray
>       addObserver:forKeyPath:options:context: exception
> Message-ID: <f4220fcc-683b-4db8-a38e-b347e7361...@gmail.com>
> Content-Type: text/plain; charset=us-ascii
> 
> Is "Auto Rearrange Content" of the array controller switched on? The array 
> controller can't observe to-many relationships.

That did it! I turned it off, and the predicate started filtering without 
throwing exceptions.

> Does NSPredicateEditor work with to-many relationships? I don't think so, but 
> I'm not sure.

The filter predicate does appear to be filtering to-many correctly on first 
inspection.

Mikkel
_______________________________________________

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

This email sent to arch...@mail-archive.com

Reply via email to