Type Property

glyphInfo

The name of an NSGlyphInfo object.

Declaration

static let glyphInfo: NSAttributedStringKey

Discussion

The NSLayoutManager object assigns the glyph specified by this glyph info to the entire attribute range, provided that its contents match the specified base string, and that the specified glyph is available in the font specified by NSFontAttributeName.

See Also

Keys

static let accessibilityAutocorrected: NSAttributedStringKey

Autocorrected text (NSNumber as a Boolean value).

static let accessibilityMarkedMisspelled: NSAttributedStringKey

Misspelled text that is visibly marked as misspelled (NSNumber as a Boolean value). If you’re implementing a custom text-editing app, use NSAccessibilityMarkedMisspelledTextAttribute to ensure that VoiceOver properly identifies misspelled text to users.

static let accessibilityMisspelled: NSAttributedStringKey

Misspelled text that isn’t necessarily visibly marked as misspelled (NSNumber as a Boolean value). Beginning in OS X v10.9, VoiceOver no longer checks for this attribute; instead, VoiceOver uses accessibilityMarkedMisspelled.

static let accessibilityShadow: NSAttributedStringKey

Text shadow (NSNumber as a Boolean value).

static let accessibilityStrikethrough: NSAttributedStringKey

Text strikethrough (NSNumber as a Boolean value).

static let accessibilitySuperscript: NSAttributedStringKey

Text superscript style (NSNumber). Values > 0 are superscript; values < 0 are subscript.

static let characterShapeAttributeName: NSAttributedStringKey

An integer value. The value is interpreted as Apple Type Services kCharacterShapeType selector + 1.

Deprecated
static let cursor: NSAttributedStringKey

The value of this attribute is an NSCursor object. The default value is the cursor returned by the iBeam method

static let superscript: NSAttributedStringKey

The value of this attribute is an NSNumber object containing an integer. The default value is 0.

static let toolTip: NSAttributedStringKey

The value of this attribute is an NSString object containing the tooltip text. The default value is nil, indicating no tooltip is available.

static let usesScreenFontsDocumentAttribute: NSAttributedStringKey

The value of this attribute is an NSNumber object containing a Boolean; this attribute corresponds to the usesScreenFonts method of NSLayoutManager; if absent, follows the system default setting

Deprecated