Accentuateus-osx-service is a project mainly written in OBJECTIVE-C and C, based on the View license.
An Accentuate.us implementation for Apple OS X's Services.
Copyright 2010 Spearhead Development, L.L.C.
This project is released under BSD3. Please see the included LICENSE
file.
The Accentuate.us Apple OS X Service menu entry allows you to accentuate text from within any application without the application explicitly integrating with the Accentuate.us service.
The service is not complete and, due to some inherent limitations in OS X
services, you may wish to implement Accentuate.us in your app in a particular
way. AccentuateUs.h
and AccentuateUs.m
provide an implementation of our
API, complete with error handling.
Making a call to our API is as simple as including AccentuateUs.h
and using
code along these lines:
AccentuateUs *aus = [[AccentuateUs alloc]
initWithLangLocaleAndClient:@"ga"
locale:@"en-US"
client:@"Example/0.1a"
];
NSLog(@"Accentuated text: %@", [aus accentuate:@"Is i an Ghaeilge an chead teanga oifigiuil"];
[aus release];