• 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: How to add search filters like those in Finder?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to add search filters like those in Finder?


  • Subject: Re: How to add search filters like those in Finder?
  • From: Quincey Morris <email@hidden>
  • Date: Mon, 26 Apr 2010 21:37:09 -0700

On Apr 26, 2010, at 04:25, Maya Trifonova wrote:

> I need to implement add/remove filters for search results like those in Finder with the "+" and "-" and "save search" buttons (Those that appear under the spotlite search field when something is typed in it). When the "+" button is pushed another filter appears with popup buttons like "Kind", "Last open date", "Last modified date". When the "-" is pushed the filter disappears.
>
> My question is.. what kind of cocoa UI element is the whole line (with the add/remove buttons and popup buttons) and how should I implement showing and hiding? I couldn't find sample code with similar UI elements.

You probably want either NSRuleEditor or NSPredicateEditor.


_______________________________________________

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

References: 
 >How to add search filters like those in Finder? (From: Maya Trifonova <email@hidden>)

  • Prev by Date: Re: Make About window respond to ⌘W in UI-less application
  • Next by Date: Re: How to add search filters like those in Finder?
  • Previous by thread: How to add search filters like those in Finder?
  • Next by thread: Re: How to add search filters like those in Finder?
  • Index(es):
    • Date
    • Thread