Re: API for adding dictionary to MacOS ?
Re: API for adding dictionary to MacOS ?
- Subject: Re: API for adding dictionary to MacOS ?
- From: Ali Ozer <email@hidden>
- Date: Wed, 18 Jul 2001 10:59:14 -0700
>
I noticed that some programs, such as mail, offer a dictionary, though
>
this appears to a service offered by the system itself, rather than the
>
program. I would be interested in adding dictionaries for other
>
languages
>
(including international English) or maybe even making use of an
>
on-line
>
dictionary. Is there an API for doing, or how do I achieve this?
You mean the spelling checker? Take a look at NSSpellServer, which
provides the APIs for creating custom spelling checkers. If the spelling
checker is then put into one of the standard service locations it will
be accessible via the spelling panel.
http://developer.apple.com/techpubs/macosx/Cocoa/Reference/Foundation/ObjC_classic/
Classes/NSSpellServer.html
Ali