Guest User

Untitled

a guest
Oct 20th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. func initializePickerViewProperties() {
  2. let font = UIFont (name: "SanFranciscoDisplay-Regular", size: 30.0)
  3. let highlightedFont = UIFont (name: "SanFranciscoDisplay-Bold", size: 35.0)
  4. pickerView.font = font!
  5. pickerView.highlightedFont = highlightedFont!
  6. }
  7.  
  8. func initializePickerViewProperties() {
  9. if let font = UIFont (name: "SanFranciscoDisplay-Regular", size: 30.0),
  10. let highlightedFont = UIFont (name: "SanFranciscoDisplay-Bold", size: 35.0) {
  11. pickerView.font = font
  12. pickerView.highlightedFont = highlightedFont
  13. }
  14. }
  15.  
  16. for fontfamily in UIFont.familyNames(){
  17. for fontname in UIFont.fontNamesForFamilyName(fontfamily){
  18. print(fontname)
  19. }
  20. }
Add Comment
Please, Sign In to add comment