Re: Autocomplete word as you are typing
Re: Autocomplete word as you are typing
- Subject: Re: Autocomplete word as you are typing
- From: 慧 松本 <email@hidden>
- Date: Thu, 7 Feb 2008 08:46:25 +0900
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 completion: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