We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--- blows dust off Pixate Freestyle --- ;)
Setting the font of a tab bar item no longer works in Pixate as of iOS 8.3 and Xcode 6.3:
tab-bar-item { color: #696D72; font-family: "Avenir Next"; font-weight:600; font-size:12px; }
This is likely caused by the fact that the UIFont has to be force unwrapped. Doing this with UIAppearance used to be this:
UIFont
UIAppearance
UITabBarItem.appearance().setTitleTextAttributes([NSFontAttributeName: UIFont(name: "AvenirNextCondensed-DemiBold", size:12)], forState:.Normal)
...but now must be this:
UITabBarItem.appearance().setTitleTextAttributes([NSFontAttributeName: UIFont(name: "AvenirNextCondensed-DemiBold", size:12)!], forState:.Normal)
Note the ! after UIFont(...) There's a chance this will start creeping up for all font usage in Pixate.
!
UIFont(...)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
--- blows dust off Pixate Freestyle --- ;)
Setting the font of a tab bar item no longer works in Pixate as of iOS 8.3 and Xcode 6.3:
This is likely caused by the fact that the
UIFont
has to be force unwrapped. Doing this withUIAppearance
used to be this:...but now must be this:
Note the
!
afterUIFont(...)
There's a chance this will start creeping up for all font usage in Pixate.The text was updated successfully, but these errors were encountered: