UIFont
class UIFont : NSObject, NSCopying
-
Returns a font with the provided parameters.
Declaration
Swift
public static func font(name: String, fontSize: CGFloat) -> UIFontParameters
nameName of the font.
fontSizeSize of the font.
Return Value
UIFont of the name and size provided and defaults to system font if font it not found.
UIFont Extension Reference