My favorites | Sign in
Project Home Downloads Wiki Issues Source
Repository:
Checkout   Browse   Changes   Clones  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#import <Foundation/NSObject.h>

@class NSArray, NSDictionary;

@interface NSOrthography : NSObject {
NSString *_dominantScript;
NSDictionary *_languageMap;
}

+orthographyWithDominantScript:(NSString *)script languageMap:(NSDictionary *)languageMap;

-initWithDominantScript:(NSString *)script languageMap:(NSDictionary *)languageMap;

@property(readonly) NSDictionary *languageMap;
@property(readonly) NSArray *allLanguages;
@property(readonly) NSArray *allScripts;
@property(readonly) NSString *dominantLanguage;
@property(readonly) NSString *dominantScript;

-(NSString *)dominantLanguageForScript:(NSString *)script;
-(NSArray *)languagesForScript:(NSString *)script;

@end

Change log

dcf86a985be1 by Christopher Lloyd <c...@objc.net> on Aug 21, 2011   Diff
Rough in some spell checker classes and
clean up warnings
Go to: 
Project members, sign in to write a code review

Older revisions

All revisions of this file

File info

Size: 686 bytes, 23 lines
Powered by Google Project Hosting