completionsForPartialWordRange:inString:language:inSpellDocumentWithTag:
指定した文字列の範囲の候補を返します
-(NSArray *)completionsForPartialWordRange:(NSRange )range: inString:(NSString *)string: language:(NSString *)language inSpellDocumentWithTag:: inSpellDocumentWithTag:(int)tag :
解説
指定した文字列の範囲の候補を返します。
文字の補完に使用します。
返り値
( NSArray * )
配列
引数
( NSRange )range
( NSString * )string
( NSString * )language inSpellDocumentWithTag:
( int )tag
フレームワーク
ApplicationKit
クラス
NSSpellChecker
Instance Methods
使用可能
10.3
参照
例文
NSLog(@"completionsForPartialWordRange %@",[[sChecker completionsForPartialWordRange:NSMakeRange(0,1) inString:@"This is a pon." language:@"English" inSpellDocumentWithTag:0 ] description]);