Re: NSPredicateEditor
Re: NSPredicateEditor
- Subject: Re: NSPredicateEditor
- From: Peter Ammon <email@hidden>
- Date: Thu, 26 Jun 2008 17:09:34 -0700
On Jun 25, 2008, at 7:27 PM, Chris wrote:
The net effect is that NSPredicateEditor can't display a predicate
like
NOT (foo = "bar")
A bug in NSPredicateEditor system perhaps? But surely someone would
have
seen it before.
Hi Chris,
NOT type compound predicates only support exactly one subpredicate, or
at least they did when NSPredicateEditor was written. For this
reason, the default implementation of NOT expects the sole
subpredicate to be an OR type. So set this:
NOT(OR(foo="bar"))
Hope this helps,
-Peter
_______________________________________________
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