Re: How to add search filters like those in Finder?
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