Check out NSPredicateEditor and http://webkit.org/ for how Safari does things.
On 01/27/2011 7:43 PM, "Ben Golding" <b...@object-craft.com.au> wrote: > >Safari has a really nice "Find" bar that scrolls down from the title pane >of the window. I'd like to do something like that in an application that >I'm developing but I can't find out whether that's generally available >and how to use it. > >Further, I'd like to be able to highlight the found text in a yellow box >like Safari does but again, I can't seem to find how to do that either. > >Any pointers would be appreciated. Thanks, > > Ben. > >ps, it is very hard to get meaningful results when you search for how to >implement "Find" menu >items!_______________________________________________ > >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/garywade%40desisoftsystem >s.com > >This email sent to garyw...@desisoftsystems.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 arch...@mail-archive.com