Re: Why Applespell.service fail to launch?
Re: Why Applespell.service fail to launch?
- Subject: Re: Why Applespell.service fail to launch?
- From: Dave Keck <email@hidden>
- Date: Thu, 2 Jul 2009 16:04:54 -1000
This code works just fine for me:
NSLog(@"%@", NSStringFromRange([[NSSpellChecker
sharedSpellChecker] checkSpellingOfString: @"hello, hwo are you
today?" startingAt: 0]));
Which prints '{7, 3}', as expected. I'll go out on a limb and guess
that you're trying to access the spell checker from an atypical
context. Is this code failing in a bread-and-butter Cocoa app launched
from the Finder? Or are you doing something fancy like, say, writing a
launchd daemon or agent or something other than a 'normal' Cocoa app?
David
_______________________________________________
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