macOS/iOS API解説

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

目次

textView:shouldChangeTextInRanges:replacementStrings:

**

-(BOOL)textView:(NSTextView *)textView:
               shouldChangeTextInRanges:(NSArray *)affectedRanges:
               replacementStrings:(NSArray *)replacementStrings:

解説

調査中...
テキストビューの指定した範囲で変更があったときに呼び出されます。

返り値

( BOOL )

YES/NO

引数

( NSTextView * )textView
( NSArray * )affectedRanges
( NSArray * )replacementStrings

フレームワーク

ApplicationKit

クラス

NSTextView

Instance Methods

使用可能

10.4

参照

例文