Last active
December 23, 2016 23:19
-
-
Save pangers/0a5484a094cdd65711331211f5973caf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let attributes: [String : Any] = [ | |
NSFontAttributeName : UIFont(name: "AvenirNext-Medium", size: 16), | |
NSForegroundColorAttributeName : UIColor.orange | |
] | |
let label = UILabel() | |
label.attributedText = NSAttributedString(string: "Style me", attributes: attributes) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment