Structure

UIFontDescriptor.SymbolicTraits

A symbolic description of the stylistic aspects of a font.

Overview

The lower 16 bits represent the typeface, and the upper 16 bits describe appearance of the font. The font appearance information represented by the upper 16 bits of NSFontSymbolicTraits can be used for stylistic font matching. UIFontDescriptor.Class constants classify certain stylistic qualities of the font.

Relationships

Conforms To

See Also

Fonts

Getting a Scaled Font

Scale text in your interface automatically by creating fonts that support Dynamic Type.

Adding a Custom Font to Your App

Add a custom font to your app and use it in your app’s interface.

class UIFont

The interface for getting and setting font information.

class UIFontDescriptor

A mechanism to describe a font with a dictionary of attributes.

protocol UIContentSizeCategoryAdjusting

A collection of methods that give controls an easy way to adopt automatic adjustment to content category changes.

class UIFontMetrics

A utility object for obtaining custom fonts that scale to support Dynamic Type.