Re: NSSpellChecker Count Words
Re: NSSpellChecker Count Words
- Subject: Re: NSSpellChecker Count Words
- From: Douglas Davidson <email@hidden>
- Date: Tue, 4 Feb 2003 11:37:02 -0800
On Monday, February 3, 2003, at 07:19 AM, Timothy Ritchey wrote:
I was wondering if anyone had any insights into using NSSpellChecker
to count the number of words in a string. I am using it like:
int count = [[NSSpellChecker sharedSpellChecker]
countWordsInString:aString language:@""];
No matter what I seem to do, I always get zero.
This is due to a bug in our spellcheckers. They currently don't count
words unless they're checking spelling at the same time.
Douglas Davidson
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.