Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. import UIKit
  2.  
  3. struct Font {
  4. static let bold = { (size: CGFloat) in
  5. UIFont(name: "Roboto-Bold", size: size) ?? UIFont.systemFont(ofSize: size)
  6. }
  7. static let regular = { (size: CGFloat) in
  8. UIFont(name: "Roboto-Regular", size: size) ?? UIFont.systemFont(ofSize: size)
  9. }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement