Special

Clearance Sale!

We've been publishing for over five years now and it's time to clear out our inventory of back issues, so we're slashing prices!

RBD Magazines

Check out this amazing clearance sale of all our past issues. Missing some issues? This is a great time to complete your RBD collection. Save up to 40% off the regular price of our printed back issue packages. These prices are only good until the end of the year May 2008 and supplies are limited, so place your order today.

Article Preview


Buy Now

Print:
PDF:

The Interface Designer

In The Spotlight

Adding Spotlight-style searching to your app

Issue: 6.1 (November/December 2007)
Author: Toby Rush
Article Description: No description available.
Article Length (in bytes): 9,144
Starting Page Number: 44
RBD Number: 6119
Resource File(s): None
Related Web Link(s):

http://www.declaresub.com/code
http://developer.apple.com/documentation/Carbon/Reference/MetadataAttributesRef/index.html#//apple_ref/doc/uid/TP40001689
http://developer.apple.com/documentation/Carbon/Reference/MetadataAttributesRef/index.html#//apple_ref/doc/uid/TP40001689

Known Limitations: None

Excerpt of article text...

Computers store information: memos, links to useful web sites, e-mails, pictures, music, movies, recipes, doodles, novels... the list can go on and on. Storing the information is easy, as long as there is enough disk space. Finding it, on the other hand, can often be a challenge.

In a REALbasic program, there's a pretty good chance that the interface will need to include the ability for the user to find something, and the "have the user scroll through the list" is generally not a good strategy, especially for lists that can get large. Even sorting the list alphabetically entails quite a bit of browsing on the user's part, and there is always a better way.

That better way is almost always allowing the user to search for a particular bit of text. In the ultra-responsive world of Mac OS X, the usual interface involves having matching items show up as the user is typing the string. And as with many other things in the Macintosh interface, Mac OS X has a consistent interface for doing searches: Spotlight, which is recognized by its familiar magnifying glass icon.

...End of Excerpt. Please purchase the magazine to read the full article.

Article copyrighted by REALbasic Developer magazine. All rights reserved.


 


|

 


Weblog Commenting and Trackback by HaloScan.com