boldSystemFont
TypeScriptstatic boldSystemFont(fontSize: number): UIFontSwift declarationclass func boldSystemFont(ofSize fontSize: CGFloat) -> UIFontclass · iOS 2.0+ · SDK 27.1
class UIFontstatic boldSystemFont(fontSize: number): UIFontSwift declarationclass func boldSystemFont(ofSize fontSize: CGFloat) -> UIFontstatic fontNames(familyName: string): Array<string>Swift declarationclass func fontNames(forFamilyName familyName: String) -> [String]static initDescriptorSize(descriptor: UIFontDescriptor, pointSize: number): UIFontSwift declarationinit(descriptor: UIFontDescriptor, size pointSize: CGFloat)static initNameSize(fontName: string, fontSize: number): (UIFont) | nullSwift declarationinit?(name fontName: String, size fontSize: CGFloat)static italicSystemFont(fontSize: number): UIFontSwift declarationclass func italicSystemFont(ofSize fontSize: CGFloat) -> UIFontstatic monospacedDigitSystemFont(fontSize: number, weight: UIFont_Weight): UIFontSwift declarationclass func monospacedDigitSystemFont(ofSize fontSize: CGFloat, weight: UIFont.Weight) -> UIFontstatic monospacedSystemFont(fontSize: number, weight: UIFont_Weight): UIFontSwift declarationclass func monospacedSystemFont(ofSize fontSize: CGFloat, weight: UIFont.Weight) -> UIFontstatic preferredFontForTextStyle(style: UIFont_TextStyle): UIFontSwift declarationclass func preferredFont(forTextStyle style: UIFont.TextStyle) -> UIFontstatic preferredFontForTextStyleCompatibleWith(style: UIFont_TextStyle, traitCollection?: (UITraitCollection) | null): UIFontSwift declarationclass func preferredFont(forTextStyle style: UIFont.TextStyle, compatibleWith traitCollection: UITraitCollection?) -> UIFontstatic systemFontOfSize(fontSize: number): UIFontSwift declarationclass func systemFont(ofSize fontSize: CGFloat) -> UIFontstatic systemFontOfSizeWeight(fontSize: number, weight: UIFont_Weight): UIFontSwift declarationclass func systemFont(ofSize fontSize: CGFloat, weight: UIFont.Weight) -> UIFontstatic systemFontOfSizeWeightWidth(fontSize: number, weight: UIFont_Weight, width: UIFont_Width): UIFontSwift declarationclass func systemFont(ofSize fontSize: CGFloat, weight: UIFont.Weight, width: UIFont.Width) -> UIFontstatic get buttonFontSize(): numberSwift declarationclass var buttonFontSize: CGFloat { get }static get familyNames(): Array<string>Swift declarationclass var familyNames: [String] { get }static get labelFontSize(): numberSwift declarationclass var labelFontSize: CGFloat { get }static get smallSystemFontSize(): numberSwift declarationclass var smallSystemFontSize: CGFloat { get }static get systemFontSize(): numberSwift declarationclass var systemFontSize: CGFloat { get }withSize(fontSize: number): UIFontSwift declarationfunc withSize(_ fontSize: CGFloat) -> UIFontget ascender(): numberSwift declarationvar ascender: CGFloat { get }get capHeight(): numberSwift declarationvar capHeight: CGFloat { get }get descender(): numberSwift declarationvar descender: CGFloat { get }get familyName(): stringSwift declarationvar familyName: String { get }get fontDescriptor(): UIFontDescriptorSwift declarationvar fontDescriptor: UIFontDescriptor { get }get fontName(): stringSwift declarationvar fontName: String { get }get leading(): numberSwift declarationvar leading: CGFloat { get }get lineHeight(): numberSwift declarationvar lineHeight: CGFloat { get }get pointSize(): numberSwift declarationvar pointSize: CGFloat { get }get xHeight(): numberSwift declarationvar xHeight: CGFloat { get }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
UIFont.init()
inherited init: cannot prove legal (class declares 2 custom initializers)