Skip to content

Instantly share code, notes, and snippets.

@i-tengfei
Created October 26, 2014 12:24
Show Gist options
  • Save i-tengfei/2e5ac19c2016702a5e92 to your computer and use it in GitHub Desktop.
Save i-tengfei/2e5ac19c2016702a5e92 to your computer and use it in GitHub Desktop.
输出所有字体
for family in UIFont.familyNames() as [String] {
println(" ---" + family + "---")
for font in UIFont.fontNamesForFamilyName(family) {
println(" " + (font as String))
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment