Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- func initializePickerViewProperties() {
- let font = UIFont (name: "SanFranciscoDisplay-Regular", size: 30.0)
- let highlightedFont = UIFont (name: "SanFranciscoDisplay-Bold", size: 35.0)
- pickerView.font = font!
- pickerView.highlightedFont = highlightedFont!
- }
- func initializePickerViewProperties() {
- if let font = UIFont (name: "SanFranciscoDisplay-Regular", size: 30.0),
- let highlightedFont = UIFont (name: "SanFranciscoDisplay-Bold", size: 35.0) {
- pickerView.font = font
- pickerView.highlightedFont = highlightedFont
- }
- }
- for fontfamily in UIFont.familyNames(){
- for fontname in UIFont.fontNamesForFamilyName(fontfamily){
- print(fontname)
- }
- }
Add Comment
Please, Sign In to add comment