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