Swift.
사용가능한 폰트 패밀리 출력.
let fonts = UIFont.familyNames;
for f in fonts {
print("\(f)")
}
for family in UIFont.familyNames {
print("\(family)");
for names in UIFont.fontNames(forFamilyName: family) {
print("== \(names)");
}
}
Objective-C도 동일.
-------------------------------- 출력된 리스트 ----------------------------------
Copperplate
Heiti SC
Kohinoor Telugu
Thonburi
Heiti TC
Courier New
Gill Sans
Apple SD Gothic Neo
Marker Felt
Avenir Next Condensed
Tamil Sangam MN
Helvetica Neue
Gurmukhi MN
Times New Roman
Georgia
Apple Color Emoji
Arial Rounded MT Bold
Kailasa
Kohinoor Devanagari
Kohinoor Bangla
Chalkboard SE
Sinhala Sangam MN
PingFang TC
Gujarati Sangam MN
Damascus
Noteworthy
Geeza Pro
Avenir
Academy Engraved LET
Mishafi
Futura
Farah
Kannada Sangam MN
Arial Hebrew
Arial
Party LET
Chalkduster
Hoefler Text
Optima
Palatino
Lao Sangam MN
Malayalam Sangam MN
Al Nile
Bradley Hand
PingFang HK
Trebuchet MS
Helvetica
Courier
Cochin
Hiragino Mincho ProN
Devanagari Sangam MN
Oriya Sangam MN
Snell Roundhand
Zapf Dingbats
Bodoni 72
Verdana
American Typewriter
Avenir Next
Baskerville
Khmer Sangam MN
Didot
Savoye LET
Bodoni Ornaments
Symbol
Menlo
Bodoni 72 Smallcaps
Papyrus
Hiragino Sans
PingFang SC
Myanmar Sangam MN
Euphemia UCAS
Telugu Sangam MN
Bangla Sangam MN
Zapfino
Bodoni 72 Oldstyle
========================
Copperplate
== Copperplate-Light
== Copperplate
== Copperplate-Bold
Heiti SC
Kohinoor Telugu
== KohinoorTelugu-Regular
== KohinoorTelugu-Medium
== KohinoorTelugu-Light
Thonburi
== Thonburi
== Thonburi-Bold
== Thonburi-Light
Heiti TC
Courier New
== CourierNewPS-BoldMT
== CourierNewPS-ItalicMT
== CourierNewPSMT
== CourierNewPS-BoldItalicMT
Gill Sans
== GillSans-Italic
== GillSans-Bold
== GillSans-BoldItalic
== GillSans-LightItalic
== GillSans
== GillSans-Light
== GillSans-SemiBold
== GillSans-SemiBoldItalic
== GillSans-UltraBold
Apple SD Gothic Neo
== AppleSDGothicNeo-Bold
== AppleSDGothicNeo-UltraLight
== AppleSDGothicNeo-Thin
== AppleSDGothicNeo-Regular
== AppleSDGothicNeo-Light
== AppleSDGothicNeo-Medium
== AppleSDGothicNeo-SemiBold
Marker Felt
== MarkerFelt-Thin
== MarkerFelt-Wide
Avenir Next Condensed
== AvenirNextCondensed-BoldItalic
== AvenirNextCondensed-Heavy
== AvenirNextCondensed-Medium
== AvenirNextCondensed-Regular
== AvenirNextCondensed-HeavyItalic
== AvenirNextCondensed-MediumItalic
== AvenirNextCondensed-Italic
== AvenirNextCondensed-UltraLightItalic
== AvenirNextCondensed-UltraLight
== AvenirNextCondensed-DemiBold
== AvenirNextCondensed-Bold
== AvenirNextCondensed-DemiBoldItalic
Tamil Sangam MN
== TamilSangamMN
== TamilSangamMN-Bold
Helvetica Neue
== HelveticaNeue-Italic
== HelveticaNeue-Bold
== HelveticaNeue-UltraLight
== HelveticaNeue-CondensedBlack
== HelveticaNeue-BoldItalic
== HelveticaNeue-CondensedBold
== HelveticaNeue-Medium
== HelveticaNeue-Light
== HelveticaNeue-Thin
== HelveticaNeue-ThinItalic
== HelveticaNeue-LightItalic
== HelveticaNeue-UltraLightItalic
== HelveticaNeue-MediumItalic
== HelveticaNeue
Gurmukhi MN
== GurmukhiMN-Bold
== GurmukhiMN
Times New Roman
== TimesNewRomanPSMT
== TimesNewRomanPS-BoldItalicMT
== TimesNewRomanPS-ItalicMT
== TimesNewRomanPS-BoldMT
Georgia
== Georgia-BoldItalic
== Georgia
== Georgia-Italic
== Georgia-Bold
Apple Color Emoji
== AppleColorEmoji
Arial Rounded MT Bold
== ArialRoundedMTBold
Kailasa
== Kailasa-Bold
== Kailasa
Kohinoor Devanagari
== KohinoorDevanagari-Light
== KohinoorDevanagari-Regular
== KohinoorDevanagari-Semibold
Kohinoor Bangla
== KohinoorBangla-Semibold
== KohinoorBangla-Regular
== KohinoorBangla-Light
Chalkboard SE
== ChalkboardSE-Bold
== ChalkboardSE-Light
== ChalkboardSE-Regular
Sinhala Sangam MN
== SinhalaSangamMN-Bold
== SinhalaSangamMN
PingFang TC
== PingFangTC-Medium
== PingFangTC-Regular
== PingFangTC-Light
== PingFangTC-Ultralight
== PingFangTC-Semibold
== PingFangTC-Thin
Gujarati Sangam MN
== GujaratiSangamMN-Bold
== GujaratiSangamMN
Damascus
== DamascusLight
== DamascusBold
== DamascusSemiBold
== DamascusMedium
== Damascus
Noteworthy
== Noteworthy-Light
== Noteworthy-Bold
Geeza Pro
== GeezaPro
== GeezaPro-Bold
Avenir
== Avenir-Medium
== Avenir-HeavyOblique
== Avenir-Book
== Avenir-Light
== Avenir-Roman
== Avenir-BookOblique
== Avenir-MediumOblique
== Avenir-Black
== Avenir-BlackOblique
== Avenir-Heavy
== Avenir-LightOblique
== Avenir-Oblique
Academy Engraved LET
== AcademyEngravedLetPlain
Mishafi
== DiwanMishafi
Futura
== Futura-CondensedMedium
== Futura-CondensedExtraBold
== Futura-Medium
== Futura-MediumItalic
== Futura-Bold
Farah
== Farah
Kannada Sangam MN
== KannadaSangamMN
== KannadaSangamMN-Bold
Arial Hebrew
== ArialHebrew-Bold
== ArialHebrew-Light
== ArialHebrew
Arial
== ArialMT
== Arial-BoldItalicMT
== Arial-BoldMT
== Arial-ItalicMT
Party LET
== PartyLetPlain
Chalkduster
== Chalkduster
Hoefler Text
== HoeflerText-Italic
== HoeflerText-Regular
== HoeflerText-Black
== HoeflerText-BlackItalic
Optima
== Optima-Regular
== Optima-ExtraBlack
== Optima-BoldItalic
== Optima-Italic
== Optima-Bold
Palatino
== Palatino-Bold
== Palatino-Roman
== Palatino-BoldItalic
== Palatino-Italic
Lao Sangam MN
== LaoSangamMN
Malayalam Sangam MN
== MalayalamSangamMN-Bold
== MalayalamSangamMN
Al Nile
== AlNile-Bold
== AlNile
Bradley Hand
== BradleyHandITCTT-Bold
PingFang HK
== PingFangHK-Ultralight
== PingFangHK-Semibold
== PingFangHK-Thin
== PingFangHK-Light
== PingFangHK-Regular
== PingFangHK-Medium
Trebuchet MS
== Trebuchet-BoldItalic
== TrebuchetMS
== TrebuchetMS-Bold
== TrebuchetMS-Italic
Helvetica
== Helvetica-Bold
== Helvetica
== Helvetica-LightOblique
== Helvetica-Oblique
== Helvetica-BoldOblique
== Helvetica-Light
Courier
== Courier-BoldOblique
== Courier
== Courier-Bold
== Courier-Oblique
Cochin
== Cochin-Bold
== Cochin
== Cochin-Italic
== Cochin-BoldItalic
Hiragino Mincho ProN
== HiraMinProN-W6
== HiraMinProN-W3
Devanagari Sangam MN
== DevanagariSangamMN
== DevanagariSangamMN-Bold
Oriya Sangam MN
== OriyaSangamMN
== OriyaSangamMN-Bold
Snell Roundhand
== SnellRoundhand-Bold
== SnellRoundhand
== SnellRoundhand-Black
Zapf Dingbats
== ZapfDingbatsITC
Bodoni 72
== BodoniSvtyTwoITCTT-Bold
== BodoniSvtyTwoITCTT-Book
== BodoniSvtyTwoITCTT-BookIta
Verdana
== Verdana-Italic
== Verdana-BoldItalic
== Verdana
== Verdana-Bold
American Typewriter
== AmericanTypewriter-CondensedLight
== AmericanTypewriter
== AmericanTypewriter-CondensedBold
== AmericanTypewriter-Light
== AmericanTypewriter-Semibold
== AmericanTypewriter-Bold
== AmericanTypewriter-Condensed
Avenir Next
== AvenirNext-UltraLight
== AvenirNext-UltraLightItalic
== AvenirNext-Bold
== AvenirNext-BoldItalic
== AvenirNext-DemiBold
== AvenirNext-DemiBoldItalic
== AvenirNext-Medium
== AvenirNext-HeavyItalic
== AvenirNext-Heavy
== AvenirNext-Italic
== AvenirNext-Regular
== AvenirNext-MediumItalic
Baskerville
== Baskerville-Italic
== Baskerville-SemiBold
== Baskerville-BoldItalic
== Baskerville-SemiBoldItalic
== Baskerville-Bold
== Baskerville
Khmer Sangam MN
== KhmerSangamMN
Didot
== Didot-Italic
== Didot-Bold
== Didot
Savoye LET
== SavoyeLetPlain
Bodoni Ornaments
== BodoniOrnamentsITCTT
Symbol
== Symbol
Menlo
== Menlo-Italic
== Menlo-Bold
== Menlo-Regular
== Menlo-BoldItalic
Bodoni 72 Smallcaps
== BodoniSvtyTwoSCITCTT-Book
Papyrus
== Papyrus
== Papyrus-Condensed
Hiragino Sans
== HiraginoSans-W3
== HiraginoSans-W6
PingFang SC
== PingFangSC-Ultralight
== PingFangSC-Regular
== PingFangSC-Semibold
== PingFangSC-Thin
== PingFangSC-Light
== PingFangSC-Medium
Myanmar Sangam MN
== MyanmarSangamMN-Bold
== MyanmarSangamMN
Euphemia UCAS
== EuphemiaUCAS-Italic
== EuphemiaUCAS
== EuphemiaUCAS-Bold
Telugu Sangam MN
Bangla Sangam MN
Zapfino
== Zapfino
Bodoni 72 Oldstyle
== BodoniSvtyTwoOSITCTT-Book
== BodoniSvtyTwoOSITCTT-Bold
== BodoniSvtyTwoOSITCTT-BookIt
'프로그래밍 > Swift' 카테고리의 다른 글
Swift stretchableImage (0) | 2018.03.05 |
---|---|
UIColor to Hex func (0) | 2018.03.05 |
iOS CoreNFC.framework, NFC Tag Reader 개발(Objective-C) (0) | 2017.12.28 |
Easy APNs Provider 사용방법(iOS Push발송 테스트) (0) | 2017.12.26 |
Swift - Playground(플레이그라운드) (0) | 2017.11.09 |