UIFont
public extension UIFont
no:doc
-
Returns font with textStyle and weight.
Declaration
Swift
static func vgsPreferredFont(forTextStyle style: TextStyle, weight: Weight? = nil, maximumPointSize: CGFloat? = nil) -> UIFontParameters
styleTextStyleobject, font text style.weightWeightobject, font weight.maximumPointSizeCGFloat?object, max font size in points, default isnil.Return Value
UIFontobject.
View on GitHub
UIFont Extension Reference