layoutManager
テキストコンテナのレイアウトマネージャーを返します
解説
テキストコンテナのレイアウトマネージャー(NSLayoutManager)を返します。
返り値
( NSLayoutManager * )
レイアウトマネジャー
引数
フレームワーク
ApplicationKit
クラス
NSTextContainer
Instance Methods
使用可能
10.0
参照
- setLayoutManager:
- replaceLayoutManager:
例文
#import "MyObject.h" @implementation MyObject - (IBAction)myAction:(id)sender { NSTextContainer *tempTc; tempTc = [tv1 textContainer]; [tv1 setTextContainer:[tv2 textContainer]]; [tv2 setTextContainer:tempTc]; NSLog([[tempTc layoutManager] description]); } @end