labelFont(ofSize:)
Returns the font used for standard interface labels in the specified size.
Declaration
class func labelFont(ofSize fontSize: CGFloat) -> NSFontParameters
- fontSize:
The size in points to which the font is scaled.
Return Value
A font object of the specified size. If fontSize is 0 or negative, returns the label font with the default size.
Discussion
The label font (Lucida Grande Regular 10 point) is used for the labels on toolbar buttons and to label tick marks on full-size sliders. For more information on system fonts, see Human Interface Guidelines > Typography.