Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import UIKit
- struct Font {
- static let bold = { (size: CGFloat) in
- UIFont(name: "Roboto-Bold", size: size) ?? UIFont.systemFont(ofSize: size)
- }
- static let regular = { (size: CGFloat) in
- UIFont(name: "Roboto-Regular", size: size) ?? UIFont.systemFont(ofSize: size)
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement