• 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
Re: Spell service bundled in application (solved)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Spell service bundled in application (solved)


  • Subject: Re: Spell service bundled in application (solved)
  • From: Jérome Laurens <email@hidden>
  • Date: Tue, 5 Jun 2007 12:35:08 +0200
  • Resent-date: Tue, 5 Jun 2007 12:36:42 +0200
  • Resent-from: Jérome Laurens <email@hidden>
  • Resent-message-id: <email@hidden>
  • Resent-to: cocoa-dev <email@hidden>


Le 4 juin 07 à 20:23, Douglas Davidson a écrit :


On Jun 2, 2007, at 12:44 AM, Jérome Laurens wrote:

Now I need to ship this spell service inside my own app.
For that, I just merge my app's and my spell service's bundles, and I merge the info.plist.
When I do that, my app works properly and the spell service seems properly declared after logout/login
but app's can't connect to my spell server.


Is there something I have missed?

Are you properly registering and running NSSpellServer? What you describe ought to work, although there are a number of details and it's difficult to know exactly what might be going wrong.


In fact, the spell server daemon was not running, most certainly because my app was not in one of the standard locations and the daemon was not automatically launched.
I forced the server to launch at least once when my app finishes launching and it works.



However, I can't really recommend running a spelling service inside of an application--it would mean that the app would have to be running all the time. A spellchecker is better off as a faceless background process.

Douglas Davidson


One of my problems is to obtain the list of all the available languages from the spell server itself.
As already mentionned, this list can be read from the pulldown button of the spell checker panel.
Unfortunately, this spell checker panel is only initialized sometimes when NSApp is created.


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


  • Prev by Date: Why would this block?
  • Next by Date: Re: Core Data app becomes a memory hog
  • Previous by thread: Why would this block?
  • Next by thread: core data newbie Q
  • Index(es):
    • Date
    • Thread