• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSPredicateEditor
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSPredicateEditor


  • Subject: Re: NSPredicateEditor
  • From: "Jim Turner" <email@hidden>
  • Date: Wed, 25 Jun 2008 08:57:27 -0500

On Wed, Jun 25, 2008 at 1:08 AM, Chris <email@hidden> 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 (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

  • Follow-Ups:
    • Re: NSPredicateEditor
      • From: Chris <email@hidden>
References: 
 >NSPredicateEditor (From: Chris <email@hidden>)

  • Prev by Date: Can't open PrefPane on Air w/10.5.3
  • Next by Date: Re: Newbie question: instantiate a class in its header file OR in IB
  • Previous by thread: NSPredicateEditor
  • Next by thread: Re: NSPredicateEditor
  • Index(es):
    • Date
    • Thread