macOS/iOS API解説

iOS , Mac アプリケーション開発のために使われる主要フレームワークの日本語情報です。2010年代に書かれた内容です。今後更新はありません。

目次

setIgnoredWords:inSpellDocumentWithTag:

無視する語を配列でセットします
-(void)setIgnoredWords:(NSArray *)someWords:
            inSpellDocumentWithTag:(int)tag:

解説

無視する語を配列でセットします。

返り値

( void )

なし

引数

( NSArray * )someWords

語の配列

( int )tag

タグ

フレームワーク

ApplicationKit

クラス

NSSpellChecker

Instance Methods

使用可能

10.0

参照

- ignoredWordsInSpellDocumentWithTag:

例文

[sChecker setIgnoredWords:[NSArray arrayWithObjects:@"pon",@"pun",nil] inSpellDocumentWithTag:[NSSpellChecker uniqueSpellDocumentTag]];