Type Alias

UIFontDescriptor.Class

UIFontDescriptorClass classifies certain stylistic qualities of the font.

Declaration

typealias Class = Int

Discussion

These values correspond closely to the font class values in the OpenType OS/2 table. The class values are bundled in the upper four bits of the UIFontDescriptorSymbolicTraits and can be accessed via UIFontDescriptorClassMask. For additional information about the specific meaning of each identifier, refer to the OpenType specification.