validAttributesForMarkedText
レシーバーでサポートされる属性の名前を文字列の配列で返します
解説
レシーバーでサポートされる属性の名前を文字列の配列で返します。
NSAttachmentAttributeName
NSTextAttachment
NSBackgroundColorAttributeName
NSColor
NSBaselineOffsetAttributeName
NSNumber, as a float
NSCursorAttributeName
NSCursor
NSExpansionAttributeName
NSNumber, as a float
NSFontAttributeName
NSFont
NSForegroundColorAttributeName
NSColor
NSKernAttributeName
NSNumber, as a float
NSLigatureAttributeName
NSNumber, as an int
NSLinkAttributeName
id
NSObliquenessAttributeName
NSNumber, as a float
NSParagraphStyleAttributeName
NSParagraphStyle
NSShadowAttributeName
NSShadow
NSStrikethroughColorAttributeName
NSColor
NSStrikethroughStyleAttributeName
NSNumber, as an int
NSStrokeColorAttributeName
NSColor
NSStrokeWidthAttributeName
NSNumber; as a float
NSSuperscriptAttributeName
NSNumber, as an int
NSToolTipAttributeName
NSString
NSUnderlineColorAttributeName
NSColor
NSUnderlineStyleAttributeName
NSNumber, as an int
返り値
( NSArray * )
文字の配列
引数
フレームワーク
ApplicationKit
クラス
NSTextInput
Instance Methods
使用可能
10.0
参照
例文
//レシーバーでサポートされる属性の名前を文字列の配列で返します。 -(NSArray*)validAttributesForMarkedText { return nil; }