• 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: Why Applespell.service fail to launch?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why Applespell.service fail to launch?


  • Subject: Re: Why Applespell.service fail to launch?
  • From: shuang qin <email@hidden>
  • Date: Mon, 6 Jul 2009 11:23:30 +0800

Hi, Dave,
Thanks for your response. This sample code normally works well in most
cases.
Is Applespell.service launched by [[NSSpellChecker sharedSpellChecker] ? or
launched automatically by a NSTextView?
I guess the problem in our application might be caused by library conflict
but I do not know how to check it. Our application is a normal cocoa app.

2009/7/3 Dave Keck <email@hidden>

> 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

References: 
 >Why Applespell.service fail to launch? (From: shuang qin <email@hidden>)
 >Re: Why Applespell.service fail to launch? (From: Dave Keck <email@hidden>)

  • Prev by Date: Re: Sorting an editable tableView of managed object
  • Next by Date: Not receiving notifications on NSArrayController selection changes
  • Previous by thread: Re: Why Applespell.service fail to launch?
  • Next by thread: Re: multitouch trackpad on macbook pro
  • Index(es):
    • Date
    • Thread