foregroundColor
テキストストレージの描画色を返します
解説
テキストストレージの描画色を返します。
返り値
( NSColor * )
描画色
引数
フレームワーク
ApplicationKit
クラス
NSTextStorageScripting
Instance Methods
使用可能
10.0
参照
例文
#import "MyObject.h" //TextViewからこのクラスにdelegateしている @implementation MyObject - (IBAction)myAction:(id)sender { NSTextStorage *textSt; textSt = [myOutlet textStorage]; NSLog([[textSt foregroundColor] colorSpaceName]); } @end