Skip to content

Instantly share code, notes, and snippets.

@vjosullivan
Last active August 29, 2015 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vjosullivan/6b936907038f4acf1cda to your computer and use it in GitHub Desktop.
Save vjosullivan/6b936907038f4acf1cda to your computer and use it in GitHub Desktop.
Something learnt from reading another person's code...
titleLabel.font = UIFont.preferredFontForTextStyle(UIFontTextStyleHeadline)
bodyLabel.font = UIFont.preferredFontForTextStyle(UIFontTextStyleBody)
footnoteLabel.font = UIFont.preferredFontForTextStyle(UIFontTextStyleFootnote)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment