• 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
Force AppleSpell.service to launch
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Force AppleSpell.service to launch
      • From: Eric Gorr <email@hidden>
  • Prev by Date: Re: Text color in NSOutlineView's selected row
  • Next by Date: Re: Garbage collected and non-garbage collected
  • Previous by thread: Re: different application behaviour under different startup modes ...
  • Next by thread: Re: Force AppleSpell.service to launch
  • Index(es):
    • Date
    • Thread