Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: filtering a list like address book




On May 29, 2008, at 6:36 PM, Mark Bateman wrote:

I'm writing an application to display a list of nav aids. I'd like to be able to search the list like the iphone address book does. I.e. you type and the list filters in realtime. does anyone have any code snippets to point me in the right direction.


No, but that's not too difficult to do - have an internal NSTimer that is reset every time the text changes, and triggers the search in a fraction of a second.

Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >filtering a list like address book (From: Mark Bateman <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.