• 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
Re: Autocomplete word as you are typing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Autocomplete word as you are typing


  • Subject: Re: Autocomplete word as you are typing
  • From: 慧 松本 <email@hidden>
  • Date: Thu, 7 Feb 2008 08:51:11 +0900

Sorry, I mistook the method name.

On 2008/02/07, at 6:50, Chris Schmitt wrote:
I am trying to figure out how I would go about doing an autocompletion of a word as you are typing. I am trying to do something like any autocomplete done on the web where you start typing in your information and if there is a 1 to 1 match against a list it suggests a completion to the word. I know there is the "textView:completions:forPartialWordRange:indexOfSelectedItem:" delegate method, but I want something that will happen as the person types without hitting the escape key.
Does anyone have any examples, advice, delegate methods to look at.


Invoke [yourTextView complete:nil] somewhere in your code.

Also you can find a sample code written by Douglas Davidson in CocoaBuilder archive.
http://www.cocoabuilder.com/archive/message/cocoa/2005/7/18/142172


Satoshi
-----------------------------------------------------
Satoshi Matsumoto <email@hidden>
816-5 Odake, Odawara, Kanagawa, Japan 256-0802




_______________________________________________

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:
This email sent to email@hidden


References: 
 >Autocomplete word as you are typing (From: Chris Schmitt <email@hidden>)

  • Prev by Date: Re: Subversion Practices?
  • Next by Date: Re: Core Animation layout behavior during live window resize
  • Previous by thread: Re: Autocomplete word as you are typing
  • Next by thread: Re: Autocomplete word as you are typing
  • Index(es):
    • Date
    • Thread