textView
テキストビューを返します
解説
テキストビューを返します。
返り値
( NSTextView * )
テキストビュー
引数
フレームワーク
ApplicationKit
クラス
NSTextContainer
Instance Methods
使用可能
10.0
参照
- setTextView:
例文
#import "MyObject.h" @implementation MyObject - (IBAction)myAction:(id)sender { NSTextContainer *tempTc; tempTc = [tv1 textContainer]; [tv1 setTextContainer:[tv2 textContainer]]; [tv2 setTextContainer:tempTc]; NSLog([[tempTc textView] className]); } @end