Contents

UIFont.Weight

Constants that represent standard typeface styles.

Declaration

struct Weight

Overview

Use system-defined constants as interchangeable values for weight. Each constant corresponds to a different value that indicates the weight of a font. Use these constants to specify the weight parameter in systemFont(ofSize:weight:). When providing a weight that doesn’t precisely match a font face in the family, the system locates a face that most closely matches the request.

Topics

Using system-defined font weights

Balancing the appearance of symbols and text

Initializers

See Also

Creating System Fonts