• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
efficient iTune-style filter
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

efficient iTune-style filter


  • Subject: efficient iTune-style filter
  • From: Jake <email@hidden>
  • Date: Sun, 28 Oct 2001 02:04:31 -0500 (EST)

What is the best way to implement an iTune-style list filter? I
understand that one need to write a custom formatter and use
"isPartialStringValid" as a trigger as each character is typed. However,
in order to avoid unnecessary overhead. I would like to only perform the
final search and list action once the user has "finished" typing. eg.
instead of performing search for a, ap, app, appl, apple, i would like to
only perform the search "apple". I can try to use a data variable to track
the time elapsed, and compare with the last key to see if sufficient time
has expired. However, I was wondering if there is a more elegant
solution to this.

Thanks.

Jake


  • Follow-Ups:
    • Re: efficient iTune-style filter
      • From: Ondra Cada <email@hidden>
References: 
 >"Required AppleEvents" (From: Jeff LaMarche <email@hidden>)

  • Prev by Date: CalendarView - can't download
  • Next by Date: Re: Menu Extras, Preference Panes, and HIServices.framework
  • Previous by thread: "Required AppleEvents"
  • Next by thread: Re: efficient iTune-style filter
  • Index(es):
    • Date
    • Thread