On 29/09/2012, at 18.49, [email protected] wrote:
> Message: 5
> Date: Sat, 29 Sep 2012 13:48:40 +0200
> From: Willeke <[email protected]>
> To: Cocoa-Dev List <[email protected]>
> Subject: Re: NSPredicate / NSArray
>       addObserver:forKeyPath:options:context: exception
> Message-ID: <[email protected]>
> 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 ([email protected])

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 [email protected]

Reply via email to