macOS/iOS API解説

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

目次

textView:shouldChangeTypingAttributes:toAttributes:

テキストビューで属性の変更があった時に呼び出されます
-(NSDictionary *)textView:(NSTextView *)textView:
               shouldChangeTypingAttributes:(NSDictionary *)oldTypingAttributes:
               toAttributes:(NSDictionary *)newTypingAttributes:

解説

テキストビューで属性の変更があった時に呼び出されます。
デリゲートのみ

返り値

( NSDictionary * )

なし

引数

( NSTextView * )textView
( NSDictionary * )oldTypingAttributes
( NSDictionary * )newTypingAttributes

フレームワーク

ApplicationKit

クラス

NSTextView

Instance Methods

使用可能

10.4

参照

例文