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 (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 arch...@mail-archive.com