Re: NSPredicate / NSArray addObserver:forKeyPath:options:context: exception
Re: NSPredicate / NSArray addObserver:forKeyPath:options:context: exception
- Subject: Re: NSPredicate / NSArray addObserver:forKeyPath:options:context: exception
- From: Mikkel Eide Eriksen <email@hidden>
- Date: Sat, 29 Sep 2012 19:06:25 +0200
On 29/09/2012, at 18.49, email@hidden wrote:
> Message: 5
> Date: Sat, 29 Sep 2012 13:48:40 +0200
> From: Willeke <email@hidden>
> To: Cocoa-Dev List <email@hidden>
> Subject: Re: NSPredicate / NSArray
> addObserver:forKeyPath:options:context: exception
> Message-ID: <email@hidden>
> 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@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