• 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
NSSpellChecker Count Words
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSSpellChecker Count Words


  • Subject: NSSpellChecker Count Words
  • From: Timothy Ritchey <email@hidden>
  • Date: Mon, 3 Feb 2003 10:19:08 -0500

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.

Cheers,
tim
_______________________________________________
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.

  • Follow-Ups:
    • Re: NSSpellChecker Count Words
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: RE: Auto-mounting disk images
  • Next by Date: [AppleScript+Cocoa] NSScriptCommand misbehaving?
  • Previous by thread: Some NSImageRep wonderings and problems
  • Next by thread: Re: NSSpellChecker Count Words
  • Index(es):
    • Date
    • Thread