[ANN] Mail.app style search field.
[ANN] Mail.app style search field.
- Subject: [ANN] Mail.app style search field.
- From: Rams <email@hidden>
- Date: Tue, 11 Mar 2003 00:08:32 -0500
Hi all,
I decided to share my creation with the world. It is a search field a
la Mail.app. It not only works just like the Mail.app search field,
but it has two different ways to show progress. It can show progress
with a blue progress bar, much like Safari, or it can show
indeterminate progress by pulsing the cancel button. (Something the
creators of the Mail.app search field apparently intended to do but
never implemented for some reason.) The search field can be displayed
with a pop up and gray text, like Mail.app, or without, like in the
Finder. It has been written with toolbars in mind as well. The search
field handles most of its own care and feeding, so all you really need
to do is set it up. It is in the form of a Project Builder project.
It consists of three main classes, one thread class to handle the
timing, and a demo class to make it run in its most basic form. In the
comments of the demo class are instructions on usage. Thanks to all on
these two lists for assistance, and Joe Lester's JCKit for many of the
graphics and the focus ring/drawing code. So, for anyone interested in
trying/using it...
http://homepage.mac.com/rgurley/Personal5.html
There is still plenty of room for improvement. The PopUpSearchCell
could be made less dependent on the PopUpSearchField, the code could be
cleaned up a bit I'm sure, and of course, the first thing many of you
will likely want to do is port it to Obj-C/Cocoa, but it's there and it
works. Enjoy.
--
There are only 10 kinds of people in this world... those who understand
binary and those who don't
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.