// // UIFont+Extension.swift // MTP2_iOS // // Created by Handy_Cao on 2020/8/8. // Copyright © 2020 Muchinfo. All rights reserved. // import Foundation extension UIFont { /// font_12 static var font_12: UIFont { get { return UIFont.systemFont(ofSize: 12) } } /// font_10 static var font_10: UIFont { get { return UIFont.systemFont(ofSize: 10) } } /// font_13 static var font_13: UIFont { get { return UIFont.systemFont(ofSize: 13) } } /// font_14 static var font_14: UIFont { get { return UIFont.systemFont(ofSize: 14) } } /// font_15 static var font_15: UIFont { get { return UIFont.systemFont(ofSize: 15) } } /// font_16 static var font_16: UIFont { get { return UIFont.systemFont(ofSize: 16) } } /// font_18 static var font_18: UIFont { get { return UIFont.systemFont(ofSize: 18) } } /// font_22 static var font_22: UIFont { get { return UIFont.systemFont(ofSize: 22) } } /// font_20 static var font_20: UIFont { get { return UIFont.systemFont(ofSize: 20) } } /// font_bold_smallSystem static var font_bold_smallSystem: UIFont { get { return UIFont.boldSystemFont(ofSize: UIFont.smallSystemFontSize) } } /// font_bold_14 static var font_bold_14: UIFont { get { return UIFont.boldSystemFont(ofSize: 14) } } /// font_bold_16 static var font_bold_16: UIFont { get { return UIFont.boldSystemFont(ofSize: 16) } } }