On Wed, Jun 25, 2008 at 1:08 AM, Chris <[EMAIL PROTECTED]> wrote:
> Let's say I create a NSPredicateEditor and it looks like this:
>
> --------------------
> [All] of the following are true:
> --------------------
> [Name] equals [         ]
> -------------------
>
> So the user enters say "Fred" and the predicate returned is "Name == Fred".
>
> Later on, I reload that predicate into the NSPredicateEditor and it looks
> like this:
>
> --------------------
> [Name] equals [ Fred ]
> -------------------
>
> But now there is no option to change it to say:
>
> [Some] of the following are true:
>
> because that line isn't shown.
>
> How do I make that line reappear the next time?

By default, the NSPredicateEditor object in IB creates a compound
predicate.  Wrap your "Name == Fred" predicate in a compound predicate
before reloading it in the editor and the Any/All/None row should
return.

-- 
Jim
http://nukethemfromorbit.com
_______________________________________________

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