Force AppleSpell.service to launch
Force AppleSpell.service to launch
- Subject: Force AppleSpell.service to launch
- From: Ross Carter <email@hidden>
- Date: Thu, 07 May 2009 12:54:47 -0400
Normally, a NSTextView will launch AppleSpell.service as needed. In my
app, for reasons I have not figured out, that doesn't happen.
I've been launching the service with a call to
[[NSSpellChecker sharedSpellChecker] checkSpellingOfString:@"hello"
startingAt:0];
That works on app startup, but it does not launch the service if for
some reason the service process has been killed after my app has been
running.
I can nohup /System/Library/Services/AppleSpell.service/Contents/MacOS/
AppleSpell, but that launches AppleSpell and not AppleSpell.service.
Is there a nice way to insure that AppleSpell.service is running?
Alternatively, what would cause the service not to launch when
continuous spell checking is turned on and the user is entering text?
Thanks,
Ross
_______________________________________________
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