diff --git a/Sources/Font.swift b/Sources/Font.swift index 9d3a3197ac3c705cc44beb1d1ddccd174f343cb7..9d78d6a549b1f893ab1a473d9cd0909b82b22423 100644 --- a/Sources/Font.swift +++ b/Sources/Font.swift @@ -21,6 +21,13 @@ public enum Font: String, FontRepresentable { + #if os(iOS) + /* + πŸ“±πŸ“±πŸ“±πŸ“±πŸ“±πŸ“±πŸ“±πŸ“±πŸ“±πŸ“±πŸ“±πŸ“±πŸ“±πŸ“±πŸ“±πŸ“±πŸ“±πŸ“±πŸ“±πŸ“±πŸ“±πŸ“±πŸ“±πŸ“±πŸ“±πŸ“± + iOS Fonts + πŸ“±πŸ“±πŸ“±πŸ“±πŸ“±πŸ“±πŸ“±πŸ“±πŸ“±πŸ“±πŸ“±πŸ“±πŸ“±πŸ“±πŸ“±πŸ“±πŸ“±πŸ“±πŸ“±πŸ“±πŸ“±πŸ“±πŸ“±πŸ“±πŸ“±πŸ“± + */ + // Font Family: Academy Engraved LET case academyEngravedLetPlain = "AcademyEngravedLetPlain" @@ -410,4 +417,260 @@ public enum Font: String, FontRepresentable { // Font Family: Zapfino case zapfino = "Zapfino" + + #elseif os(tvOS) + /* + πŸ“ΊπŸ“ΊπŸ“ΊπŸ“ΊπŸ“ΊπŸ“ΊπŸ“ΊπŸ“ΊπŸ“ΊπŸ“ΊπŸ“ΊπŸ“ΊπŸ“ΊπŸ“ΊπŸ“ΊπŸ“ΊπŸ“ΊπŸ“ΊπŸ“ΊπŸ“ΊπŸ“ΊπŸ“Ί + tvOS Fonts + πŸ“ΊπŸ“ΊπŸ“ΊπŸ“ΊπŸ“ΊπŸ“ΊπŸ“ΊπŸ“ΊπŸ“ΊπŸ“ΊπŸ“ΊπŸ“ΊπŸ“ΊπŸ“ΊπŸ“ΊπŸ“ΊπŸ“ΊπŸ“ΊπŸ“ΊπŸ“ΊπŸ“ΊπŸ“Ί + */ + + // Font Family: American Typewriter + case americanTypewriterBold = "AmericanTypewriter-Bold" + case americanTypewriterCondensedLight = "AmericanTypewriter-CondensedLight" + case americanTypewriterSemibold = "AmericanTypewriter-Semibold" + case americanTypewriterCondensedBold = "AmericanTypewriter-CondensedBold" + case americanTypewriter = "AmericanTypewriter" + case americanTypewriterLight = "AmericanTypewriter-Light" + case americanTypewriterCondensed = "AmericanTypewriter-Condensed" + + // Font Family: Apple Color Emoji + case appleColorEmoji = "AppleColorEmoji" + + // Font Family: Apple SD Gothic Neo + case appleSDGothicNeoThin = "AppleSDGothicNeo-Thin" + case appleSDGothicNeoSemiBold = "AppleSDGothicNeo-SemiBold" + case appleSDGothicNeoLight = "AppleSDGothicNeo-Light" + case appleSDGothicNeoMedium = "AppleSDGothicNeo-Medium" + case appleSDGothicNeoBold = "AppleSDGothicNeo-Bold" + case appleSDGothicNeoUltraLight = "AppleSDGothicNeo-UltraLight" + case appleSDGothicNeoRegular = "AppleSDGothicNeo-Regular" + + // Font Family: Arial Hebrew + case arialHebrewLight = "ArialHebrew-Light" + case arialHebrew = "ArialHebrew" + case arialHebrewBold = "ArialHebrew-Bold" + + // Font Family: Avenir + case avenirBook = "Avenir-Book" + case avenirHeavy = "Avenir-Heavy" + case avenirBlackOblique = "Avenir-BlackOblique" + case avenirBlack = "Avenir-Black" + case avenirLightOblique = "Avenir-LightOblique" + case avenirLight = "Avenir-Light" + case avenirBookOblique = "Avenir-BookOblique" + case avenirMedium = "Avenir-Medium" + case avenirHeavyOblique = "Avenir-HeavyOblique" + case avenirOblique = "Avenir-Oblique" + case avenirRoman = "Avenir-Roman" + case avenirMediumOblique = "Avenir-MediumOblique" + + // Font Family: Avenir Next + case avenirNextDemiBold = "AvenirNext-DemiBold" + case avenirNextUltraLight = "AvenirNext-UltraLight" + case avenirNextRegular = "AvenirNext-Regular" + case avenirNextHeavyItalic = "AvenirNext-HeavyItalic" + case avenirNextBoldItalic = "AvenirNext-BoldItalic" + case avenirNextMediumItalic = "AvenirNext-MediumItalic" + case avenirNextItalic = "AvenirNext-Italic" + case avenirNextHeavy = "AvenirNext-Heavy" + case avenirNextDemiBoldItalic = "AvenirNext-DemiBoldItalic" + case avenirNextBold = "AvenirNext-Bold" + case avenirNextUltraLightItalic = "AvenirNext-UltraLightItalic" + case avenirNextMedium = "AvenirNext-Medium" + + // Font Family: Baskerville + case baskervilleSemiBoldItalic = "Baskerville-SemiBoldItalic" + case baskervilleSemiBold = "Baskerville-SemiBold" + case baskerville = "Baskerville" + case baskervilleBoldItalic = "Baskerville-BoldItalic" + case baskervilleItalic = "Baskerville-Italic" + case baskervilleBold = "Baskerville-Bold" + + // Font Family: Copperplate + case copperplate = "Copperplate" + case copperplateLight = "Copperplate-Light" + case copperplateBold = "Copperplate-Bold" + + // Font Family: Courier + case courierBoldOblique = "Courier-BoldOblique" + case courier = "Courier" + case courierBold = "Courier-Bold" + case courierOblique = "Courier-Oblique" + + // Font Family: Courier New + case courierNewPSMT = "CourierNewPSMT" + case courierNewPSBoldItalicMT = "CourierNewPS-BoldItalicMT" + case courierNewPSBoldMT = "CourierNewPS-BoldMT" + case courierNewPSItalicMT = "CourierNewPS-ItalicMT" + + // Font Family: Euphemia UCAS + case euphemiaUCAS = "EuphemiaUCAS" + case euphemiaUCASBold = "EuphemiaUCAS-Bold" + case euphemiaUCASItalic = "EuphemiaUCAS-Italic" + + // Font Family: Futura + case futuraBold = "Futura-Bold" + case futuraMediumItalic = "Futura-MediumItalic" + case futuraCondensedExtraBold = "Futura-CondensedExtraBold" + case futuraCondensedMedium = "Futura-CondensedMedium" + case futuraMedium = "Futura-Medium" + + // Font Family: Geeza Pro + case geezaProBold = "GeezaPro-Bold" + case geezaPro = "GeezaPro" + + // Font Family: Gujarati Sangam MN + case gujaratiSangamMNBold = "GujaratiSangamMN-Bold" + case gujaratiSangamMN = "GujaratiSangamMN" + + // Font Family: Gurmukhi MN + case gurmukhiMN = "GurmukhiMN" + case gurmukhiMNBold = "GurmukhiMN-Bold" + + // Font Family: Helvetica + case helveticaOblique = "Helvetica-Oblique" + case helveticaBold = "Helvetica-Bold" + case helveticaLightOblique = "Helvetica-LightOblique" + case helveticaBoldOblique = "Helvetica-BoldOblique" + case helveticaLight = "Helvetica-Light" + case helvetica = "Helvetica" + + + // Font Family: Helvetica Neue + case helveticaNeueUltraLight = "HelveticaNeue-UltraLight" + case helveticaNeueUltraLightItalic = "HelveticaNeue-UltraLightItalic" + case helveticaNeueLightItalic = "HelveticaNeue-LightItalic" + case helveticaNeue = "HelveticaNeue" + case helveticaNeueLight = "HelveticaNeue-Light" + case helveticaNeueMediumItalic = "HelveticaNeue-MediumItalic" + case helveticaNeueCondensedBold = "HelveticaNeue-CondensedBold" + case helveticaNeueCondensedBlack = "HelveticaNeue-CondensedBlack" + case helveticaNeueThinItalic = "HelveticaNeue-ThinItalic" + case helveticaNeueThin = "HelveticaNeue-Thin" + case helveticaNeueMedium = "HelveticaNeue-Medium" + case helveticaNeueItalic = "HelveticaNeue-Italic" + case helveticaNeueBoldItalic = "HelveticaNeue-BoldItalic" + case helveticaNeueBold = "HelveticaNeue-Bold" + + // Font Family: Hiragino Maru Gothic ProN + case hiraMaruProNW4 = "HiraMaruProN-W4" + + // Font Family: Hiragino Sans + case hiraginoSansW5 = "HiraginoSans-W5" + case hiraginoSansW6 = "HiraginoSans-W6" + case hiraginoSansW3 = "HiraginoSans-W3" + + // Font Family: Kailasa + case kailasa = "Kailasa" + case kailasaBold = "Kailasa-Bold" + + // Font Family: Kannada Sangam MN + case kannadaSangamMNBold = "KannadaSangamMN-Bold" + case kannadaSangamMN = "KannadaSangamMN" + + // Font Family: Kefa + case kefaRegular = "Kefa-Regular" + + // Font Family: Khmer Sangam MN + case khmerSangamMN = "KhmerSangamMN" + + // Font Family: Kohinoor Bangla + case kohinoorBanglaRegular = "KohinoorBangla-Regular" + case kohinoorBanglaSemibold = "KohinoorBangla-Semibold" + case kohinoorBanglaLight = "KohinoorBangla-Light" + + // Font Family: Kohinoor Devanagari + case kohinoorDevanagariLight = "KohinoorDevanagari-Light" + case kohinoorDevanagariRegular = "KohinoorDevanagari-Regular" + case kohinoorDevanagariSemibold = "KohinoorDevanagari-Semibold" + + // Font Family: Kohinoor Telugu + case kohinoorTeluguLight = "KohinoorTelugu-Light" + case kohinoorTeluguMedium = "KohinoorTelugu-Medium" + case kohinoorTeluguRegular = "KohinoorTelugu-Regular" + + // Font Family: Lao Sangam MN + case laoSangamMN = "LaoSangamMN" + + // Font Family: Malayalam Sangam MN + case malayalamSangamMN = "MalayalamSangamMN" + case malayalamSangamMNBold = "MalayalamSangamMN-Bold" + + // Font Family: Menlo + case menloBoldItalic = "Menlo-BoldItalic" + case menloItalic = "Menlo-Italic" + case menloRegular = "Menlo-Regular" + case menloBold = "Menlo-Bold" + + // Font Family: Myanmar Sangam MN + case myanmarSangamMN = "MyanmarSangamMN" + case myanmarSangamMNBold = "MyanmarSangamMN-Bold" + + // Font Family: Noto Nastaliq Urdu + case notoNastaliqUrdu = "NotoNastaliqUrdu" + + // Font Family: Oriya Sangam MN + case oriyaSangamMNBold = "OriyaSangamMN-Bold" + case oriyaSangamMN = "OriyaSangamMN" + + // Font Family: PingFang HK + case pingFangHKRegular = "PingFangHK-Regular" + case pingFangHKMedium = "PingFangHK-Medium" + case pingFangHKThin = "PingFangHK-Thin" + case pingFangHKSemibold = "PingFangHK-Semibold" + case pingFangHKLight = "PingFangHK-Light" + case pingFangHKUltralight = "PingFangHK-Ultralight" + + // Font Family: PingFang SC + case pingFangSCRegular = "PingFangSC-Regular" + case pingFangSCUltralight = "PingFangSC-Ultralight" + case pingFangSCThin = "PingFangSC-Thin" + case pingFangSCMedium = "PingFangSC-Medium" + case pingFangSCLight = "PingFangSC-Light" + case pingFangSCSemibold = "PingFangSC-Semibold" + + // Font Family: PingFang TC + case pingFangTCSemibold = "PingFangTC-Semibold" + case pingFangTCMedium = "PingFangTC-Medium" + case pingFangTCRegular = "PingFangTC-Regular" + case pingFangTCUltralight = "PingFangTC-Ultralight" + case pingFangTCLight = "PingFangTC-Light" + case pingFangTCThin = "PingFangTC-Thin" + + // Font Family: Savoye LET + case savoyeLetPlain = "SavoyeLetPlain" + + // Font Family: Sinhala Sangam MN + case sinhalaSangamMNBold = "SinhalaSangamMN-Bold" + case sinhalaSangamMN = "SinhalaSangamMN" + + + // Font Family: Symbol + case symbol = "Symbol" + + // Font Family: Tamil Sangam MN + case tamilSangamMN = "TamilSangamMN" + case tamilSangamMNBold = "TamilSangamMN-Bold" + + // Font Family: Thonburi + case thonburi = "Thonburi" + case thonburiBold = "Thonburi-Bold" + case thonburiLight = "Thonburi-Light" + + // Font Family: Times New Roman + case timesNewRomanPSItalicMT = "TimesNewRomanPS-ItalicMT" + case timesNewRomanPSBoldItalicMT = "TimesNewRomanPS-BoldItalicMT" + case timesNewRomanPSMT = "TimesNewRomanPSMT" + case timesNewRomanPSBoldMT = "TimesNewRomanPS-BoldMT" + + // Font Family: Trebuchet MS + case trebuchetMSItalic = "TrebuchetMS-Italic" + case trebuchetMSBold = "TrebuchetMS-Bold" + case trebuchetBoldItalic = "Trebuchet-BoldItalic" + case trebuchetMS = "TrebuchetMS" + + // Font Family: Zapf Dingbats + case zapfDingbatsITC = "ZapfDingbatsITC" + #endif } diff --git a/Sources/FontRepresentable.swift b/Sources/FontRepresentable.swift index f9cf369a1e3bd6be8ae7f317a72d7bfa173e10c2..203c90d02b57435db2f712ef1db3c41e2dc37299 100644 --- a/Sources/FontRepresentable.swift +++ b/Sources/FontRepresentable.swift @@ -19,6 +19,8 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. +import UIKit + public protocol FontRepresentable: RawRepresentable {} extension FontRepresentable where Self.RawValue == String { diff --git a/UIFontComplete-iOS/Info.plist b/UIFontComplete-iOS/Info.plist new file mode 100644 index 0000000000000000000000000000000000000000..1007fd9dd7d0af3071eced72a45c88fea7665976 --- /dev/null +++ b/UIFontComplete-iOS/Info.plist @@ -0,0 +1,24 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + NSPrincipalClass + + + diff --git a/UIFontComplete-iOS/UIFontComplete_iOS.h b/UIFontComplete-iOS/UIFontComplete_iOS.h new file mode 100644 index 0000000000000000000000000000000000000000..c383d62cbe6f34b9aad9fc2922a79be2d564cf4a --- /dev/null +++ b/UIFontComplete-iOS/UIFontComplete_iOS.h @@ -0,0 +1,18 @@ +// +// UIFontComplete_iOS.h +// UIFontComplete-iOS +// +// Created by Nicholas Maccharoli on 2018/01/02. +// + +#import + +//! Project version number for UIFontComplete_iOS. +FOUNDATION_EXPORT double UIFontComplete_iOSVersionNumber; + +//! Project version string for UIFontComplete_iOS. +FOUNDATION_EXPORT const unsigned char UIFontComplete_iOSVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import + + diff --git a/UIFontComplete-iOSTests/Info.plist b/UIFontComplete-iOSTests/Info.plist new file mode 100644 index 0000000000000000000000000000000000000000..6c40a6cd0c4af2f0d93b697fbfb066793681b045 --- /dev/null +++ b/UIFontComplete-iOSTests/Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + + diff --git a/UIFontComplete-tvOS/Info.plist b/UIFontComplete-tvOS/Info.plist new file mode 100644 index 0000000000000000000000000000000000000000..1007fd9dd7d0af3071eced72a45c88fea7665976 --- /dev/null +++ b/UIFontComplete-tvOS/Info.plist @@ -0,0 +1,24 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + NSPrincipalClass + + + diff --git a/UIFontComplete-tvOS/UIFontComplete_tvOS.h b/UIFontComplete-tvOS/UIFontComplete_tvOS.h new file mode 100644 index 0000000000000000000000000000000000000000..9bc637198cfb5c8faa090d15015f01eec7e3d616 --- /dev/null +++ b/UIFontComplete-tvOS/UIFontComplete_tvOS.h @@ -0,0 +1,18 @@ +// +// UIFontComplete_tvOS.h +// UIFontComplete-tvOS +// +// Created by Nicholas Maccharoli on 2018/01/01. +// + +#import + +//! Project version number for UIFontComplete_tvOS. +FOUNDATION_EXPORT double UIFontComplete_tvOSVersionNumber; + +//! Project version string for UIFontComplete_tvOS. +FOUNDATION_EXPORT const unsigned char UIFontComplete_tvOSVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import + + diff --git a/UIFontComplete-tvOSTests/Info.plist b/UIFontComplete-tvOSTests/Info.plist new file mode 100644 index 0000000000000000000000000000000000000000..6c40a6cd0c4af2f0d93b697fbfb066793681b045 --- /dev/null +++ b/UIFontComplete-tvOSTests/Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + + diff --git a/UIFontComplete-tvOSTests/UIFontComplete_tvOSTests.swift b/UIFontComplete-tvOSTests/UIFontComplete_tvOSTests.swift new file mode 100644 index 0000000000000000000000000000000000000000..6aebe83603b2bee416a9991fa89755d984eaa189 --- /dev/null +++ b/UIFontComplete-tvOSTests/UIFontComplete_tvOSTests.swift @@ -0,0 +1,670 @@ +// +// UIFontComplete_tvOSTests.swift +// +// Copyright (c) 2016-2018 Nicholas Maccharoli +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + +import XCTest +import UIKit + +@testable import UIFontComplete + +class UIFontComplete_tvOSTests: XCTestCase { + + func testAmericanTypewriterBold() { + XCTAssert(UIFont(font: .americanTypewriterBold, size: 12.0) != nil, "Font \"AmericanTypewriter-Bold\" can not be found.") + } + + func testAmericanTypewriterCondensedLight() { + XCTAssert(UIFont(font: .americanTypewriterCondensedLight, size: 12.0) != nil, "Font \"AmericanTypewriter-CondensedLight\" can not be found.") + } + + func testAmericanTypewriterSemibold() { + XCTAssert(UIFont(font: .americanTypewriterSemibold, size: 12.0) != nil, "Font \"AmericanTypewriter-Semibold\" can not be found.") + } + + func testAmericanTypewriterCondensedBold() { + XCTAssert(UIFont(font: .americanTypewriterCondensedBold, size: 12.0) != nil, "Font \"AmericanTypewriter-CondensedBold\" can not be found.") + } + + func testAmericanTypewriter() { + XCTAssert(UIFont(font: .americanTypewriter, size: 12.0) != nil, "Font \"AmericanTypewriter\" can not be found.") + } + + func testAmericanTypewriterLight() { + XCTAssert(UIFont(font: .americanTypewriterLight, size: 12.0) != nil, "Font \"AmericanTypewriter-Light\" can not be found.") + } + + func testAmericanTypewriterCondensed() { + XCTAssert(UIFont(font: .americanTypewriterCondensed, size: 12.0) != nil, "Font \"AmericanTypewriter-Condensed\" can not be found.") + } + + func testAppleColorEmoji() { + XCTAssert(UIFont(font: .appleColorEmoji, size: 12.0) != nil, "Font \"AppleColorEmoji\" can not be found.") + } + + func testAppleSDGothicNeoThin() { + XCTAssert(UIFont(font: .appleSDGothicNeoThin, size: 12.0) != nil, "Font \"AppleSDGothicNeo-Thin\" can not be found.") + } + + func testAppleSDGothicNeoSemiBold() { + XCTAssert(UIFont(font: .appleSDGothicNeoSemiBold, size: 12.0) != nil, "Font \"AppleSDGothicNeo-SemiBold\" can not be found.") + } + + func testAppleSDGothicNeoLight() { + XCTAssert(UIFont(font: .appleSDGothicNeoLight, size: 12.0) != nil, "Font \"AppleSDGothicNeo-Light\" can not be found.") + } + + func testAppleSDGothicNeoMedium() { + XCTAssert(UIFont(font: .appleSDGothicNeoMedium, size: 12.0) != nil, "Font \"AppleSDGothicNeo-Medium\" can not be found.") + } + + func testAppleSDGothicNeoBold() { + XCTAssert(UIFont(font: .appleSDGothicNeoBold, size: 12.0) != nil, "Font \"AppleSDGothicNeo-Bold\" can not be found.") + } + + func testAppleSDGothicNeoUltraLight() { + XCTAssert(UIFont(font: .appleSDGothicNeoUltraLight, size: 12.0) != nil, "Font \"AppleSDGothicNeo-UltraLight\" can not be found.") + } + + func testAppleSDGothicNeoRegular() { + XCTAssert(UIFont(font: .appleSDGothicNeoRegular, size: 12.0) != nil, "Font \"AppleSDGothicNeo-Regular\" can not be found.") + } + + func testArialHebrewLight() { + XCTAssert(UIFont(font: .arialHebrewLight, size: 12.0) != nil, "Font \"ArialHebrew-Light\" can not be found.") + } + + func testArialHebrew() { + XCTAssert(UIFont(font: .arialHebrew, size: 12.0) != nil, "Font \"ArialHebrew\" can not be found.") + } + + func testArialHebrewBold() { + XCTAssert(UIFont(font: .arialHebrewBold, size: 12.0) != nil, "Font \"ArialHebrew-Bold\" can not be found.") + } + + func testAvenirBook() { + XCTAssert(UIFont(font: .avenirBook, size: 12.0) != nil, "Font \"Avenir-Book\" can not be found.") + } + + func testAvenirHeavy() { + XCTAssert(UIFont(font: .avenirHeavy, size: 12.0) != nil, "Font \"Avenir-Heavy\" can not be found.") + } + + func testAvenirBlackOblique() { + XCTAssert(UIFont(font: .avenirBlackOblique, size: 12.0) != nil, "Font \"Avenir-BlackOblique\" can not be found.") + } + + func testAvenirBlack() { + XCTAssert(UIFont(font: .avenirBlack, size: 12.0) != nil, "Font \"Avenir-Black\" can not be found.") + } + + func testAvenirLightOblique() { + XCTAssert(UIFont(font: .avenirLightOblique, size: 12.0) != nil, "Font \"Avenir-LightOblique\" can not be found.") + } + + func testAvenirLight() { + XCTAssert(UIFont(font: .avenirLight, size: 12.0) != nil, "Font \"Avenir-Light\" can not be found.") + } + + func testAvenirBookOblique() { + XCTAssert(UIFont(font: .avenirBookOblique, size: 12.0) != nil, "Font \"Avenir-BookOblique\" can not be found.") + } + + func testAvenirMedium() { + XCTAssert(UIFont(font: .avenirMedium, size: 12.0) != nil, "Font \"Avenir-Medium\" can not be found.") + } + + func testAvenirHeavyOblique() { + XCTAssert(UIFont(font: .avenirHeavyOblique, size: 12.0) != nil, "Font \"Avenir-HeavyOblique\" can not be found.") + } + + func testAvenirOblique() { + XCTAssert(UIFont(font: .avenirOblique, size: 12.0) != nil, "Font \"Avenir-Oblique\" can not be found.") + } + + func testAvenirRoman() { + XCTAssert(UIFont(font: .avenirRoman, size: 12.0) != nil, "Font \"Avenir-Roman\" can not be found.") + } + + func testAvenirMediumOblique() { + XCTAssert(UIFont(font: .avenirMediumOblique, size: 12.0) != nil, "Font \"Avenir-MediumOblique\" can not be found.") + } + + func testAvenirNextDemiBold() { + XCTAssert(UIFont(font: .avenirNextDemiBold, size: 12.0) != nil, "Font \"AvenirNext-DemiBold\" can not be found.") + } + + func testAvenirNextUltraLight() { + XCTAssert(UIFont(font: .avenirNextUltraLight, size: 12.0) != nil, "Font \"AvenirNext-UltraLight\" can not be found.") + } + + func testAvenirNextRegular() { + XCTAssert(UIFont(font: .avenirNextRegular, size: 12.0) != nil, "Font \"AvenirNext-Regular\" can not be found.") + } + + func testAvenirNextHeavyItalic() { + XCTAssert(UIFont(font: .avenirNextHeavyItalic, size: 12.0) != nil, "Font \"AvenirNext-HeavyItalic\" can not be found.") + } + + func testAvenirNextBoldItalic() { + XCTAssert(UIFont(font: .avenirNextBoldItalic, size: 12.0) != nil, "Font \"AvenirNext-BoldItalic\" can not be found.") + } + + func testAvenirNextMediumItalic() { + XCTAssert(UIFont(font: .avenirNextMediumItalic, size: 12.0) != nil, "Font \"AvenirNext-MediumItalic\" can not be found.") + } + + func testAvenirNextItalic() { + XCTAssert(UIFont(font: .avenirNextItalic, size: 12.0) != nil, "Font \"AvenirNext-Italic\" can not be found.") + } + + func testAvenirNextHeavy() { + XCTAssert(UIFont(font: .avenirNextHeavy, size: 12.0) != nil, "Font \"AvenirNext-Heavy\" can not be found.") + } + + func testAvenirNextDemiBoldItalic() { + XCTAssert(UIFont(font: .avenirNextDemiBoldItalic, size: 12.0) != nil, "Font \"AvenirNext-DemiBoldItalic\" can not be found.") + } + + func testAvenirNextBold() { + XCTAssert(UIFont(font: .avenirNextBold, size: 12.0) != nil, "Font \"AvenirNext-Bold\" can not be found.") + } + + func testAvenirNextUltraLightItalic() { + XCTAssert(UIFont(font: .avenirNextUltraLightItalic, size: 12.0) != nil, "Font \"AvenirNext-UltraLightItalic\" can not be found.") + } + + func testAvenirNextMedium() { + XCTAssert(UIFont(font: .avenirNextMedium, size: 12.0) != nil, "Font \"AvenirNext-Medium\" can not be found.") + } + + func testBaskervilleSemiBoldItalic() { + XCTAssert(UIFont(font: .baskervilleSemiBoldItalic, size: 12.0) != nil, "Font \"Baskerville-SemiBoldItalic\" can not be found.") + } + + func testBaskervilleSemiBold() { + XCTAssert(UIFont(font: .baskervilleSemiBold, size: 12.0) != nil, "Font \"Baskerville-SemiBold\" can not be found.") + } + + func testBaskerville() { + XCTAssert(UIFont(font: .baskerville, size: 12.0) != nil, "Font \"Baskerville\" can not be found.") + } + + func testBaskervilleBoldItalic() { + XCTAssert(UIFont(font: .baskervilleBoldItalic, size: 12.0) != nil, "Font \"Baskerville-BoldItalic\" can not be found.") + } + + func testBaskervilleItalic() { + XCTAssert(UIFont(font: .baskervilleItalic, size: 12.0) != nil, "Font \"Baskerville-Italic\" can not be found.") + } + + func testBaskervilleBold() { + XCTAssert(UIFont(font: .baskervilleBold, size: 12.0) != nil, "Font \"Baskerville-Bold\" can not be found.") + } + + func testCopperplate() { + XCTAssert(UIFont(font: .copperplate, size: 12.0) != nil, "Font \"Copperplate\" can not be found.") + } + + func testCopperplateLight() { + XCTAssert(UIFont(font: .copperplateLight, size: 12.0) != nil, "Font \"Copperplate-Light\" can not be found.") + } + + func testCopperplateBold() { + XCTAssert(UIFont(font: .copperplateBold, size: 12.0) != nil, "Font \"Copperplate-Bold\" can not be found.") + } + + func testCourierBoldOblique() { + XCTAssert(UIFont(font: .courierBoldOblique, size: 12.0) != nil, "Font \"Courier-BoldOblique\" can not be found.") + } + + func testCourier() { + XCTAssert(UIFont(font: .courier, size: 12.0) != nil, "Font \"Courier\" can not be found.") + } + + func testCourierBold() { + XCTAssert(UIFont(font: .courierBold, size: 12.0) != nil, "Font \"Courier-Bold\" can not be found.") + } + + func testCourierOblique() { + XCTAssert(UIFont(font: .courierOblique, size: 12.0) != nil, "Font \"Courier-Oblique\" can not be found.") + } + + func testCourierNewPSMT() { + XCTAssert(UIFont(font: .courierNewPSMT, size: 12.0) != nil, "Font \"CourierNewPSMT\" can not be found.") + } + + func testCourierNewPSBoldItalicMT() { + XCTAssert(UIFont(font: .courierNewPSBoldItalicMT, size: 12.0) != nil, "Font \"CourierNewPS-BoldItalicMT\" can not be found.") + } + + func testCourierNewPSBoldMT() { + XCTAssert(UIFont(font: .courierNewPSBoldMT, size: 12.0) != nil, "Font \"CourierNewPS-BoldMT\" can not be found.") + } + + func testCourierNewPSItalicMT() { + XCTAssert(UIFont(font: .courierNewPSItalicMT, size: 12.0) != nil, "Font \"CourierNewPS-ItalicMT\" can not be found.") + } + + func testEuphemiaUCAS() { + XCTAssert(UIFont(font: .euphemiaUCAS, size: 12.0) != nil, "Font \"EuphemiaUCAS\" can not be found.") + } + + func testEuphemiaUCASBold() { + XCTAssert(UIFont(font: .euphemiaUCASBold, size: 12.0) != nil, "Font \"EuphemiaUCAS-Bold\" can not be found.") + } + + func testEuphemiaUCASItalic() { + XCTAssert(UIFont(font: .euphemiaUCASItalic, size: 12.0) != nil, "Font \"EuphemiaUCAS-Italic\" can not be found.") + } + + func testFuturaBold() { + XCTAssert(UIFont(font: .futuraBold, size: 12.0) != nil, "Font \"Futura-Bold\" can not be found.") + } + + func testFuturaMediumItalic() { + XCTAssert(UIFont(font: .futuraMediumItalic, size: 12.0) != nil, "Font \"Futura-MediumItalic\" can not be found.") + } + + func testFuturaCondensedExtraBold() { + XCTAssert(UIFont(font: .futuraCondensedExtraBold, size: 12.0) != nil, "Font \"Futura-CondensedExtraBold\" can not be found.") + } + + func testFuturaCondensedMedium() { + XCTAssert(UIFont(font: .futuraCondensedMedium, size: 12.0) != nil, "Font \"Futura-CondensedMedium\" can not be found.") + } + + func testFuturaMedium() { + XCTAssert(UIFont(font: .futuraMedium, size: 12.0) != nil, "Font \"Futura-Medium\" can not be found.") + } + + func testGeezaProBold() { + XCTAssert(UIFont(font: .geezaProBold, size: 12.0) != nil, "Font \"GeezaPro-Bold\" can not be found.") + } + + func testGeezaPro() { + XCTAssert(UIFont(font: .geezaPro, size: 12.0) != nil, "Font \"GeezaPro\" can not be found.") + } + + func testGujaratiSangamMNBold() { + XCTAssert(UIFont(font: .gujaratiSangamMNBold, size: 12.0) != nil, "Font \"GujaratiSangamMN-Bold\" can not be found.") + } + + func testGujaratiSangamMN() { + XCTAssert(UIFont(font: .gujaratiSangamMN, size: 12.0) != nil, "Font \"GujaratiSangamMN\" can not be found.") + } + + func testGurmukhiMN() { + XCTAssert(UIFont(font: .gurmukhiMN, size: 12.0) != nil, "Font \"GurmukhiMN\" can not be found.") + } + + func testGurmukhiMNBold() { + XCTAssert(UIFont(font: .gurmukhiMNBold, size: 12.0) != nil, "Font \"GurmukhiMN-Bold\" can not be found.") + } + + func testHelveticaOblique() { + XCTAssert(UIFont(font: .helveticaOblique, size: 12.0) != nil, "Font \"Helvetica-Oblique\" can not be found.") + } + + func testHelveticaBold() { + XCTAssert(UIFont(font: .helveticaBold, size: 12.0) != nil, "Font \"Helvetica-Bold\" can not be found.") + } + + func testHelveticaLightOblique() { + XCTAssert(UIFont(font: .helveticaLightOblique, size: 12.0) != nil, "Font \"Helvetica-LightOblique\" can not be found.") + } + + func testHelveticaBoldOblique() { + XCTAssert(UIFont(font: .helveticaBoldOblique, size: 12.0) != nil, "Font \"Helvetica-BoldOblique\" can not be found.") + } + + func testHelveticaLight() { + XCTAssert(UIFont(font: .helveticaLight, size: 12.0) != nil, "Font \"Helvetica-Light\" can not be found.") + } + + func testHelvetica() { + XCTAssert(UIFont(font: .helvetica, size: 12.0) != nil, "Font \"Helvetica\" can not be found.") + } + + func testHelveticaNeueUltraLight() { + XCTAssert(UIFont(font: .helveticaNeueUltraLight, size: 12.0) != nil, "Font \"HelveticaNeue-UltraLight\" can not be found.") + } + + func testHelveticaNeueUltraLightItalic() { + XCTAssert(UIFont(font: .helveticaNeueUltraLightItalic, size: 12.0) != nil, "Font \"HelveticaNeue-UltraLightItalic\" can not be found.") + } + + func testHelveticaNeueLightItalic() { + XCTAssert(UIFont(font: .helveticaNeueLightItalic, size: 12.0) != nil, "Font \"HelveticaNeue-LightItalic\" can not be found.") + } + + func testHelveticaNeue() { + XCTAssert(UIFont(font: .helveticaNeue, size: 12.0) != nil, "Font \"HelveticaNeue\" can not be found.") + } + + func testHelveticaNeueLight() { + XCTAssert(UIFont(font: .helveticaNeueLight, size: 12.0) != nil, "Font \"HelveticaNeue-Light\" can not be found.") + } + + func testHelveticaNeueMediumItalic() { + XCTAssert(UIFont(font: .helveticaNeueMediumItalic, size: 12.0) != nil, "Font \"HelveticaNeue-MediumItalic\" can not be found.") + } + + func testHelveticaNeueCondensedBold() { + XCTAssert(UIFont(font: .helveticaNeueCondensedBold, size: 12.0) != nil, "Font \"HelveticaNeue-CondensedBold\" can not be found.") + } + + func testHelveticaNeueCondensedBlack() { + XCTAssert(UIFont(font: .helveticaNeueCondensedBlack, size: 12.0) != nil, "Font \"HelveticaNeue-CondensedBlack\" can not be found.") + } + + func testHelveticaNeueThinItalic() { + XCTAssert(UIFont(font: .helveticaNeueThinItalic, size: 12.0) != nil, "Font \"HelveticaNeue-ThinItalic\" can not be found.") + } + + func testHelveticaNeueThin() { + XCTAssert(UIFont(font: .helveticaNeueThin, size: 12.0) != nil, "Font \"HelveticaNeue-Thin\" can not be found.") + } + + func testHelveticaNeueMedium() { + XCTAssert(UIFont(font: .helveticaNeueMedium, size: 12.0) != nil, "Font \"HelveticaNeue-Medium\" can not be found.") + } + + func testHelveticaNeueItalic() { + XCTAssert(UIFont(font: .helveticaNeueItalic, size: 12.0) != nil, "Font \"HelveticaNeue-Italic\" can not be found.") + } + + func testHelveticaNeueBoldItalic() { + XCTAssert(UIFont(font: .helveticaNeueBoldItalic, size: 12.0) != nil, "Font \"HelveticaNeue-BoldItalic\" can not be found.") + } + + func testHelveticaNeueBold() { + XCTAssert(UIFont(font: .helveticaNeueBold, size: 12.0) != nil, "Font \"HelveticaNeue-Bold\" can not be found.") + } + + func testHiraMaruProNW4() { + XCTAssert(UIFont(font: .hiraMaruProNW4, size: 12.0) != nil, "Font \"HiraMaruProN-W4\" can not be found.") + } + + func testHiraginoSansW5() { + XCTAssert(UIFont(font: .hiraginoSansW5, size: 12.0) != nil, "Font \"HiraginoSans-W5\" can not be found.") + } + + func testHiraginoSansW6() { + XCTAssert(UIFont(font: .hiraginoSansW6, size: 12.0) != nil, "Font \"HiraginoSans-W6\" can not be found.") + } + + func testHiraginoSansW3() { + XCTAssert(UIFont(font: .hiraginoSansW3, size: 12.0) != nil, "Font \"HiraginoSans-W3\" can not be found.") + } + + func testKailasa() { + XCTAssert(UIFont(font: .kailasa, size: 12.0) != nil, "Font \"Kailasa\" can not be found.") + } + + func testKailasaBold() { + XCTAssert(UIFont(font: .kailasaBold, size: 12.0) != nil, "Font \"Kailasa-Bold\" can not be found.") + } + + func testKannadaSangamMNBold() { + XCTAssert(UIFont(font: .kannadaSangamMNBold, size: 12.0) != nil, "Font \"KannadaSangamMN-Bold\" can not be found.") + } + + func testKannadaSangamMN() { + XCTAssert(UIFont(font: .kannadaSangamMN, size: 12.0) != nil, "Font \"KannadaSangamMN\" can not be found.") + } + + func testKefaRegular() { + XCTAssert(UIFont(font: .kefaRegular, size: 12.0) != nil, "Font \"Kefa-Regular\" can not be found.") + } + + func testKhmerSangamMN() { + XCTAssert(UIFont(font: .khmerSangamMN, size: 12.0) != nil, "Font \"KhmerSangamMN\" can not be found.") + } + + func testKohinoorBanglaRegular() { + XCTAssert(UIFont(font: .kohinoorBanglaRegular, size: 12.0) != nil, "Font \"KohinoorBangla-Regular\" can not be found.") + } + + func testKohinoorBanglaSemibold() { + XCTAssert(UIFont(font: .kohinoorBanglaSemibold, size: 12.0) != nil, "Font \"KohinoorBangla-Semibold\" can not be found.") + } + + func testKohinoorBanglaLight() { + XCTAssert(UIFont(font: .kohinoorBanglaLight, size: 12.0) != nil, "Font \"KohinoorBangla-Light\" can not be found.") + } + + func testKohinoorDevanagariLight() { + XCTAssert(UIFont(font: .kohinoorDevanagariLight, size: 12.0) != nil, "Font \"KohinoorDevanagari-Light\" can not be found.") + } + + func testKohinoorDevanagariRegular() { + XCTAssert(UIFont(font: .kohinoorDevanagariRegular, size: 12.0) != nil, "Font \"KohinoorDevanagari-Regular\" can not be found.") + } + + func testKohinoorDevanagariSemibold() { + XCTAssert(UIFont(font: .kohinoorDevanagariSemibold, size: 12.0) != nil, "Font \"KohinoorDevanagari-Semibold\" can not be found.") + } + + func testKohinoorTeluguLight() { + XCTAssert(UIFont(font: .kohinoorTeluguLight, size: 12.0) != nil, "Font \"KohinoorTelugu-Light\" can not be found.") + } + + func testKohinoorTeluguMedium() { + XCTAssert(UIFont(font: .kohinoorTeluguMedium, size: 12.0) != nil, "Font \"KohinoorTelugu-Medium\" can not be found.") + } + + func testKohinoorTeluguRegular() { + XCTAssert(UIFont(font: .kohinoorTeluguRegular, size: 12.0) != nil, "Font \"KohinoorTelugu-Regular\" can not be found.") + } + + func testLaoSangamMN() { + XCTAssert(UIFont(font: .laoSangamMN, size: 12.0) != nil, "Font \"LaoSangamMN\" can not be found.") + } + + func testMalayalamSangamMN() { + XCTAssert(UIFont(font: .malayalamSangamMN, size: 12.0) != nil, "Font \"MalayalamSangamMN\" can not be found.") + } + + func testMalayalamSangamMNBold() { + XCTAssert(UIFont(font: .malayalamSangamMNBold, size: 12.0) != nil, "Font \"MalayalamSangamMN-Bold\" can not be found.") + } + + func testMenloBoldItalic() { + XCTAssert(UIFont(font: .menloBoldItalic, size: 12.0) != nil, "Font \"Menlo-BoldItalic\" can not be found.") + } + + func testMenloItalic() { + XCTAssert(UIFont(font: .menloItalic, size: 12.0) != nil, "Font \"Menlo-Italic\" can not be found.") + } + + func testMenloRegular() { + XCTAssert(UIFont(font: .menloRegular, size: 12.0) != nil, "Font \"Menlo-Regular\" can not be found.") + } + + func testMenloBold() { + XCTAssert(UIFont(font: .menloBold, size: 12.0) != nil, "Font \"Menlo-Bold\" can not be found.") + } + + func testMyanmarSangamMN() { + XCTAssert(UIFont(font: .myanmarSangamMN, size: 12.0) != nil, "Font \"MyanmarSangamMN\" can not be found.") + } + + func testMyanmarSangamMNBold() { + XCTAssert(UIFont(font: .myanmarSangamMNBold, size: 12.0) != nil, "Font \"MyanmarSangamMN-Bold\" can not be found.") + } + + func testNotoNastaliqUrdu() { + XCTAssert(UIFont(font: .notoNastaliqUrdu, size: 12.0) != nil, "Font \"NotoNastaliqUrdu\" can not be found.") + } + + func testOriyaSangamMNBold() { + XCTAssert(UIFont(font: .oriyaSangamMNBold, size: 12.0) != nil, "Font \"OriyaSangamMN-Bold\" can not be found.") + } + + func testOriyaSangamMN() { + XCTAssert(UIFont(font: .oriyaSangamMN, size: 12.0) != nil, "Font \"OriyaSangamMN\" can not be found.") + } + + func testPingFangHKRegular() { + XCTAssert(UIFont(font: .pingFangHKRegular, size: 12.0) != nil, "Font \"PingFangHK-Regular\" can not be found.") + } + + func testPingFangHKMedium() { + XCTAssert(UIFont(font: .pingFangHKMedium, size: 12.0) != nil, "Font \"PingFangHK-Medium\" can not be found.") + } + + func testPingFangHKThin() { + XCTAssert(UIFont(font: .pingFangHKThin, size: 12.0) != nil, "Font \"PingFangHK-Thin\" can not be found.") + } + + func testPingFangHKSemibold() { + XCTAssert(UIFont(font: .pingFangHKSemibold, size: 12.0) != nil, "Font \"PingFangHK-Semibold\" can not be found.") + } + + func testPingFangHKLight() { + XCTAssert(UIFont(font: .pingFangHKLight, size: 12.0) != nil, "Font \"PingFangHK-Light\" can not be found.") + } + + func testPingFangHKUltralight() { + XCTAssert(UIFont(font: .pingFangHKUltralight, size: 12.0) != nil, "Font \"PingFangHK-Ultralight\" can not be found.") + } + + func testPingFangSCRegular() { + XCTAssert(UIFont(font: .pingFangSCRegular, size: 12.0) != nil, "Font \"PingFangSC-Regular\" can not be found.") + } + + func testPingFangSCUltralight() { + XCTAssert(UIFont(font: .pingFangSCUltralight, size: 12.0) != nil, "Font \"PingFangSC-Ultralight\" can not be found.") + } + + func testPingFangSCThin() { + XCTAssert(UIFont(font: .pingFangSCThin, size: 12.0) != nil, "Font \"PingFangSC-Thin\" can not be found.") + } + + func testPingFangSCMedium() { + XCTAssert(UIFont(font: .pingFangSCMedium, size: 12.0) != nil, "Font \"PingFangSC-Medium\" can not be found.") + } + + func testPingFangSCLight() { + XCTAssert(UIFont(font: .pingFangSCLight, size: 12.0) != nil, "Font \"PingFangSC-Light\" can not be found.") + } + + func testPingFangSCSemibold() { + XCTAssert(UIFont(font: .pingFangSCSemibold, size: 12.0) != nil, "Font \"PingFangSC-Semibold\" can not be found.") + } + + func testPingFangTCSemibold() { + XCTAssert(UIFont(font: .pingFangTCSemibold, size: 12.0) != nil, "Font \"PingFangTC-Semibold\" can not be found.") + } + + func testPingFangTCMedium() { + XCTAssert(UIFont(font: .pingFangTCMedium, size: 12.0) != nil, "Font \"PingFangTC-Medium\" can not be found.") + } + + func testPingFangTCRegular() { + XCTAssert(UIFont(font: .pingFangTCRegular, size: 12.0) != nil, "Font \"PingFangTC-Regular\" can not be found.") + } + + func testPingFangTCUltralight() { + XCTAssert(UIFont(font: .pingFangTCUltralight, size: 12.0) != nil, "Font \"PingFangTC-Ultralight\" can not be found.") + } + + func testPingFangTCLight() { + XCTAssert(UIFont(font: .pingFangTCLight, size: 12.0) != nil, "Font \"PingFangTC-Light\" can not be found.") + } + + func testPingFangTCThin() { + XCTAssert(UIFont(font: .pingFangTCThin, size: 12.0) != nil, "Font \"PingFangTC-Thin\" can not be found.") + } + + func testSavoyeLetPlain() { + XCTAssert(UIFont(font: .savoyeLetPlain, size: 12.0) != nil, "Font \"SavoyeLetPlain\" can not be found.") + } + + func testSinhalaSangamMNBold() { + XCTAssert(UIFont(font: .sinhalaSangamMNBold, size: 12.0) != nil, "Font \"SinhalaSangamMN-Bold\" can not be found.") + } + + func testSinhalaSangamMN() { + XCTAssert(UIFont(font: .sinhalaSangamMN, size: 12.0) != nil, "Font \"SinhalaSangamMN\" can not be found.") + } + + func testSymbol() { + XCTAssert(UIFont(font: .symbol, size: 12.0) != nil, "Font \"Symbol\" can not be found.") + } + + func testTamilSangamMN() { + XCTAssert(UIFont(font: .tamilSangamMN, size: 12.0) != nil, "Font \"TamilSangamMN\" can not be found.") + } + + func testTamilSangamMNBold() { + XCTAssert(UIFont(font: .tamilSangamMNBold, size: 12.0) != nil, "Font \"TamilSangamMN-Bold\" can not be found.") + } + + func testThonburi() { + XCTAssert(UIFont(font: .thonburi, size: 12.0) != nil, "Font \"Thonburi\" can not be found.") + } + + func testThonburiBold() { + XCTAssert(UIFont(font: .thonburiBold, size: 12.0) != nil, "Font \"Thonburi-Bold\" can not be found.") + } + + func testThonburiLight() { + XCTAssert(UIFont(font: .thonburiLight, size: 12.0) != nil, "Font \"Thonburi-Light\" can not be found.") + } + + func testTimesNewRomanPSItalicMT() { + XCTAssert(UIFont(font: .timesNewRomanPSItalicMT, size: 12.0) != nil, "Font \"TimesNewRomanPS-ItalicMT\" can not be found.") + } + + func testTimesNewRomanPSBoldItalicMT() { + XCTAssert(UIFont(font: .timesNewRomanPSBoldItalicMT, size: 12.0) != nil, "Font \"TimesNewRomanPS-BoldItalicMT\" can not be found.") + } + + func testTimesNewRomanPSMT() { + XCTAssert(UIFont(font: .timesNewRomanPSMT, size: 12.0) != nil, "Font \"TimesNewRomanPSMT\" can not be found.") + } + + func testTimesNewRomanPSBoldMT() { + XCTAssert(UIFont(font: .timesNewRomanPSBoldMT, size: 12.0) != nil, "Font \"TimesNewRomanPS-BoldMT\" can not be found.") + } + + func testTrebuchetMSItalic() { + XCTAssert(UIFont(font: .trebuchetMSItalic, size: 12.0) != nil, "Font \"TrebuchetMS-Italic\" can not be found.") + } + + func testTrebuchetMSBold() { + XCTAssert(UIFont(font: .trebuchetMSBold, size: 12.0) != nil, "Font \"TrebuchetMS-Bold\" can not be found.") + } + + func testTrebuchetBoldItalic() { + XCTAssert(UIFont(font: .trebuchetBoldItalic, size: 12.0) != nil, "Font \"Trebuchet-BoldItalic\" can not be found.") + } + + func testTrebuchetMS() { + XCTAssert(UIFont(font: .trebuchetMS, size: 12.0) != nil, "Font \"TrebuchetMS\" can not be found.") + } + + func testZapfDingbatsITC() { + XCTAssert(UIFont(font: .zapfDingbatsITC, size: 12.0) != nil, "Font \"ZapfDingbatsITC\" can not be found.") + } +} diff --git a/UIFontComplete.xcodeproj/project.pbxproj b/UIFontComplete.xcodeproj/project.pbxproj index 4a462b2db3f18b6728cda581f11cf1b756ce8087..74cb286beeebe8b9753213c7c9d717d5eec5edc3 100644 --- a/UIFontComplete.xcodeproj/project.pbxproj +++ b/UIFontComplete.xcodeproj/project.pbxproj @@ -7,49 +7,87 @@ objects = { /* Begin PBXBuildFile section */ - AA813B581F0092450096ABBD /* Font.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA813B551F0092450096ABBD /* Font.swift */; }; - AA813B591F0092450096ABBD /* FontRepresentable.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA813B561F0092450096ABBD /* FontRepresentable.swift */; }; - AA813B5A1F0092450096ABBD /* UIFont+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA813B571F0092450096ABBD /* UIFont+Extension.swift */; }; - AAE1A29D1E02618D00610C40 /* UIFontComplete.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AAE1A2931E02618D00610C40 /* UIFontComplete.framework */; }; - AAE1A2A41E02618D00610C40 /* UIFontComplete.h in Headers */ = {isa = PBXBuildFile; fileRef = AAE1A2961E02618D00610C40 /* UIFontComplete.h */; settings = {ATTRIBUTES = (Public, ); }; }; - AAED536C1F53EEA7009C874C /* UIFontCompleteTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = AAED536B1F53EEA7009C874C /* UIFontCompleteTests.swift */; }; + 4E4C4E8A1FFA0D9400058722 /* UIFontComplete.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4E4C4E811FFA0D9400058722 /* UIFontComplete.framework */; }; + 4E4C4E8F1FFA0D9400058722 /* UIFontComplete_tvOSTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4E4C4E8E1FFA0D9400058722 /* UIFontComplete_tvOSTests.swift */; }; + 4E4C4E911FFA0D9400058722 /* UIFontComplete_tvOS.h in Headers */ = {isa = PBXBuildFile; fileRef = 4E4C4E831FFA0D9400058722 /* UIFontComplete_tvOS.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 4E4C4E981FFA7CDE00058722 /* Font.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA813B551F0092450096ABBD /* Font.swift */; }; + 4E4C4E991FFA7CE500058722 /* FontRepresentable.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA813B561F0092450096ABBD /* FontRepresentable.swift */; }; + 4E6A41E11FFA942300DC7D56 /* UIFont+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA813B571F0092450096ABBD /* UIFont+Extension.swift */; }; + 4E6A41F01FFA95CF00DC7D56 /* UIFontComplete.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4E6A41E71FFA95CF00DC7D56 /* UIFontComplete.framework */; }; + 4E6A41F71FFA95CF00DC7D56 /* UIFontComplete_iOS.h in Headers */ = {isa = PBXBuildFile; fileRef = 4E6A41E91FFA95CF00DC7D56 /* UIFontComplete_iOS.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 4E6A41FE1FFA967900DC7D56 /* Font.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA813B551F0092450096ABBD /* Font.swift */; }; + 4E6A41FF1FFA967D00DC7D56 /* FontRepresentable.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA813B561F0092450096ABBD /* FontRepresentable.swift */; }; + 4E6A42001FFA968100DC7D56 /* UIFont+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA813B571F0092450096ABBD /* UIFont+Extension.swift */; }; + 4E6A42011FFA96B500DC7D56 /* UIFontComplete.h in Headers */ = {isa = PBXBuildFile; fileRef = AAE1A2961E02618D00610C40 /* UIFontComplete.h */; }; + 4E6A42031FFA96D700DC7D56 /* UIFontCompleteTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = AAED536B1F53EEA7009C874C /* UIFontCompleteTests.swift */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ - AAE1A29E1E02618D00610C40 /* PBXContainerItemProxy */ = { + 4E4C4E8B1FFA0D9400058722 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = AAE1A28A1E02618D00610C40 /* Project object */; proxyType = 1; - remoteGlobalIDString = AAE1A2921E02618D00610C40; - remoteInfo = UIFontComplete; + remoteGlobalIDString = 4E4C4E801FFA0D9400058722; + remoteInfo = "UIFontComplete-tvOS"; + }; + 4E6A41F11FFA95CF00DC7D56 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = AAE1A28A1E02618D00610C40 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 4E6A41E61FFA95CF00DC7D56; + remoteInfo = "UIFontComplete-iOS"; }; /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ + 4E4C4E811FFA0D9400058722 /* UIFontComplete.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = UIFontComplete.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 4E4C4E831FFA0D9400058722 /* UIFontComplete_tvOS.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = UIFontComplete_tvOS.h; sourceTree = ""; }; + 4E4C4E841FFA0D9400058722 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 4E4C4E891FFA0D9400058722 /* UIFontComplete-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "UIFontComplete-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; + 4E4C4E8E1FFA0D9400058722 /* UIFontComplete_tvOSTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UIFontComplete_tvOSTests.swift; sourceTree = ""; }; + 4E4C4E901FFA0D9400058722 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 4E6A41E71FFA95CF00DC7D56 /* UIFontComplete.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = UIFontComplete.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 4E6A41E91FFA95CF00DC7D56 /* UIFontComplete_iOS.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = UIFontComplete_iOS.h; sourceTree = ""; }; + 4E6A41EA1FFA95CF00DC7D56 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 4E6A41EF1FFA95CF00DC7D56 /* UIFontComplete-iOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "UIFontComplete-iOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; + 4E6A41F61FFA95CF00DC7D56 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; AA813B551F0092450096ABBD /* Font.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = Font.swift; path = Sources/Font.swift; sourceTree = SOURCE_ROOT; }; AA813B561F0092450096ABBD /* FontRepresentable.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = FontRepresentable.swift; path = Sources/FontRepresentable.swift; sourceTree = SOURCE_ROOT; }; AA813B571F0092450096ABBD /* UIFont+Extension.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = "UIFont+Extension.swift"; path = "Sources/UIFont+Extension.swift"; sourceTree = SOURCE_ROOT; }; - AAE1A2931E02618D00610C40 /* UIFontComplete.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = UIFontComplete.framework; sourceTree = BUILT_PRODUCTS_DIR; }; AAE1A2961E02618D00610C40 /* UIFontComplete.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = UIFontComplete.h; sourceTree = ""; }; AAE1A2971E02618D00610C40 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - AAE1A29C1E02618D00610C40 /* UIFontCompleteTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = UIFontCompleteTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; AAE1A2A31E02618D00610C40 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; AAED536B1F53EEA7009C874C /* UIFontCompleteTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = UIFontCompleteTests.swift; path = Tests/UIFontCompleteTests.swift; sourceTree = SOURCE_ROOT; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ - AAE1A28F1E02618D00610C40 /* Frameworks */ = { + 4E4C4E7D1FFA0D9400058722 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( ); runOnlyForDeploymentPostprocessing = 0; }; - AAE1A2991E02618D00610C40 /* Frameworks */ = { + 4E4C4E861FFA0D9400058722 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - AAE1A29D1E02618D00610C40 /* UIFontComplete.framework in Frameworks */, + 4E4C4E8A1FFA0D9400058722 /* UIFontComplete.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 4E6A41E31FFA95CF00DC7D56 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 4E6A41EC1FFA95CF00DC7D56 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 4E6A41F01FFA95CF00DC7D56 /* UIFontComplete.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -65,11 +103,50 @@ name = Sources; sourceTree = ""; }; + 4E4C4E821FFA0D9400058722 /* UIFontComplete-tvOS */ = { + isa = PBXGroup; + children = ( + 4E4C4E831FFA0D9400058722 /* UIFontComplete_tvOS.h */, + 4E4C4E841FFA0D9400058722 /* Info.plist */, + ); + path = "UIFontComplete-tvOS"; + sourceTree = ""; + }; + 4E4C4E8D1FFA0D9400058722 /* UIFontComplete-tvOSTests */ = { + isa = PBXGroup; + children = ( + 4E4C4E8E1FFA0D9400058722 /* UIFontComplete_tvOSTests.swift */, + 4E4C4E901FFA0D9400058722 /* Info.plist */, + ); + path = "UIFontComplete-tvOSTests"; + sourceTree = ""; + }; + 4E6A41E81FFA95CF00DC7D56 /* UIFontComplete-iOS */ = { + isa = PBXGroup; + children = ( + 4E6A41E91FFA95CF00DC7D56 /* UIFontComplete_iOS.h */, + 4E6A41EA1FFA95CF00DC7D56 /* Info.plist */, + ); + path = "UIFontComplete-iOS"; + sourceTree = ""; + }; + 4E6A41F31FFA95CF00DC7D56 /* UIFontComplete-iOSTests */ = { + isa = PBXGroup; + children = ( + 4E6A41F61FFA95CF00DC7D56 /* Info.plist */, + ); + path = "UIFontComplete-iOSTests"; + sourceTree = ""; + }; AAE1A2891E02618D00610C40 = { isa = PBXGroup; children = ( AAE1A2951E02618D00610C40 /* UIFontComplete */, AAE1A2A01E02618D00610C40 /* UIFontCompleteTests */, + 4E4C4E821FFA0D9400058722 /* UIFontComplete-tvOS */, + 4E4C4E8D1FFA0D9400058722 /* UIFontComplete-tvOSTests */, + 4E6A41E81FFA95CF00DC7D56 /* UIFontComplete-iOS */, + 4E6A41F31FFA95CF00DC7D56 /* UIFontComplete-iOSTests */, AAE1A2941E02618D00610C40 /* Products */, ); sourceTree = ""; @@ -77,8 +154,10 @@ AAE1A2941E02618D00610C40 /* Products */ = { isa = PBXGroup; children = ( - AAE1A2931E02618D00610C40 /* UIFontComplete.framework */, - AAE1A29C1E02618D00610C40 /* UIFontCompleteTests.xctest */, + 4E4C4E811FFA0D9400058722 /* UIFontComplete.framework */, + 4E4C4E891FFA0D9400058722 /* UIFontComplete-tvOSTests.xctest */, + 4E6A41E71FFA95CF00DC7D56 /* UIFontComplete.framework */, + 4E6A41EF1FFA95CF00DC7D56 /* UIFontComplete-iOSTests.xctest */, ); name = Products; sourceTree = ""; @@ -122,51 +201,96 @@ /* End PBXGroup section */ /* Begin PBXHeadersBuildPhase section */ - AAE1A2901E02618D00610C40 /* Headers */ = { + 4E4C4E7E1FFA0D9400058722 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 4E4C4E911FFA0D9400058722 /* UIFontComplete_tvOS.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 4E6A41E41FFA95CF00DC7D56 /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - AAE1A2A41E02618D00610C40 /* UIFontComplete.h in Headers */, + 4E6A42011FFA96B500DC7D56 /* UIFontComplete.h in Headers */, + 4E6A41F71FFA95CF00DC7D56 /* UIFontComplete_iOS.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXHeadersBuildPhase section */ /* Begin PBXNativeTarget section */ - AAE1A2921E02618D00610C40 /* UIFontComplete */ = { + 4E4C4E801FFA0D9400058722 /* UIFontComplete-tvOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 4E4C4E921FFA0D9400058722 /* Build configuration list for PBXNativeTarget "UIFontComplete-tvOS" */; + buildPhases = ( + 4E4C4E7C1FFA0D9400058722 /* Sources */, + 4E4C4E7D1FFA0D9400058722 /* Frameworks */, + 4E4C4E7E1FFA0D9400058722 /* Headers */, + 4E4C4E7F1FFA0D9400058722 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "UIFontComplete-tvOS"; + productName = "UIFontComplete-tvOS"; + productReference = 4E4C4E811FFA0D9400058722 /* UIFontComplete.framework */; + productType = "com.apple.product-type.framework"; + }; + 4E4C4E881FFA0D9400058722 /* UIFontComplete-tvOSTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 4E4C4E951FFA0D9400058722 /* Build configuration list for PBXNativeTarget "UIFontComplete-tvOSTests" */; + buildPhases = ( + 4E4C4E851FFA0D9400058722 /* Sources */, + 4E4C4E861FFA0D9400058722 /* Frameworks */, + 4E4C4E871FFA0D9400058722 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 4E4C4E8C1FFA0D9400058722 /* PBXTargetDependency */, + ); + name = "UIFontComplete-tvOSTests"; + productName = "UIFontComplete-tvOSTests"; + productReference = 4E4C4E891FFA0D9400058722 /* UIFontComplete-tvOSTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + 4E6A41E61FFA95CF00DC7D56 /* UIFontComplete-iOS */ = { isa = PBXNativeTarget; - buildConfigurationList = AAE1A2A71E02618D00610C40 /* Build configuration list for PBXNativeTarget "UIFontComplete" */; + buildConfigurationList = 4E6A41F81FFA95CF00DC7D56 /* Build configuration list for PBXNativeTarget "UIFontComplete-iOS" */; buildPhases = ( - AAE1A28E1E02618D00610C40 /* Sources */, - AAE1A28F1E02618D00610C40 /* Frameworks */, - AAE1A2901E02618D00610C40 /* Headers */, - AAE1A2911E02618D00610C40 /* Resources */, + 4E6A41E21FFA95CF00DC7D56 /* Sources */, + 4E6A41E31FFA95CF00DC7D56 /* Frameworks */, + 4E6A41E41FFA95CF00DC7D56 /* Headers */, + 4E6A41E51FFA95CF00DC7D56 /* Resources */, ); buildRules = ( ); dependencies = ( ); - name = UIFontComplete; - productName = UIFontComplete; - productReference = AAE1A2931E02618D00610C40 /* UIFontComplete.framework */; + name = "UIFontComplete-iOS"; + productName = "UIFontComplete-iOS"; + productReference = 4E6A41E71FFA95CF00DC7D56 /* UIFontComplete.framework */; productType = "com.apple.product-type.framework"; }; - AAE1A29B1E02618D00610C40 /* UIFontCompleteTests */ = { + 4E6A41EE1FFA95CF00DC7D56 /* UIFontComplete-iOSTests */ = { isa = PBXNativeTarget; - buildConfigurationList = AAE1A2AA1E02618D00610C40 /* Build configuration list for PBXNativeTarget "UIFontCompleteTests" */; + buildConfigurationList = 4E6A41FB1FFA95CF00DC7D56 /* Build configuration list for PBXNativeTarget "UIFontComplete-iOSTests" */; buildPhases = ( - AAE1A2981E02618D00610C40 /* Sources */, - AAE1A2991E02618D00610C40 /* Frameworks */, - AAE1A29A1E02618D00610C40 /* Resources */, + 4E6A41EB1FFA95CF00DC7D56 /* Sources */, + 4E6A41EC1FFA95CF00DC7D56 /* Frameworks */, + 4E6A41ED1FFA95CF00DC7D56 /* Resources */, ); buildRules = ( ); dependencies = ( - AAE1A29F1E02618D00610C40 /* PBXTargetDependency */, + 4E6A41F21FFA95CF00DC7D56 /* PBXTargetDependency */, ); - name = UIFontCompleteTests; - productName = UIFontCompleteTests; - productReference = AAE1A29C1E02618D00610C40 /* UIFontCompleteTests.xctest */; + name = "UIFontComplete-iOSTests"; + productName = "UIFontComplete-iOSTests"; + productReference = 4E6A41EF1FFA95CF00DC7D56 /* UIFontComplete-iOSTests.xctest */; productType = "com.apple.product-type.bundle.unit-test"; }; /* End PBXNativeTarget section */ @@ -175,18 +299,24 @@ AAE1A28A1E02618D00610C40 /* Project object */ = { isa = PBXProject; attributes = { - LastSwiftUpdateCheck = 0820; + LastSwiftUpdateCheck = 0920; LastUpgradeCheck = 0900; TargetAttributes = { - AAE1A2921E02618D00610C40 = { - CreatedOnToolsVersion = 8.2; - LastSwiftMigration = 0900; + 4E4C4E801FFA0D9400058722 = { + CreatedOnToolsVersion = 9.2; + ProvisioningStyle = Automatic; + }; + 4E4C4E881FFA0D9400058722 = { + CreatedOnToolsVersion = 9.2; + ProvisioningStyle = Automatic; + }; + 4E6A41E61FFA95CF00DC7D56 = { + CreatedOnToolsVersion = 9.2; ProvisioningStyle = Automatic; }; - AAE1A29B1E02618D00610C40 = { - CreatedOnToolsVersion = 8.2; - LastSwiftMigration = 0900; - ProvisioningStyle = Manual; + 4E6A41EE1FFA95CF00DC7D56 = { + CreatedOnToolsVersion = 9.2; + ProvisioningStyle = Automatic; }; }; }; @@ -202,21 +332,37 @@ projectDirPath = ""; projectRoot = ""; targets = ( - AAE1A2921E02618D00610C40 /* UIFontComplete */, - AAE1A29B1E02618D00610C40 /* UIFontCompleteTests */, + 4E6A41E61FFA95CF00DC7D56 /* UIFontComplete-iOS */, + 4E6A41EE1FFA95CF00DC7D56 /* UIFontComplete-iOSTests */, + 4E4C4E801FFA0D9400058722 /* UIFontComplete-tvOS */, + 4E4C4E881FFA0D9400058722 /* UIFontComplete-tvOSTests */, ); }; /* End PBXProject section */ /* Begin PBXResourcesBuildPhase section */ - AAE1A2911E02618D00610C40 /* Resources */ = { + 4E4C4E7F1FFA0D9400058722 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( ); runOnlyForDeploymentPostprocessing = 0; }; - AAE1A29A1E02618D00610C40 /* Resources */ = { + 4E4C4E871FFA0D9400058722 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 4E6A41E51FFA95CF00DC7D56 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 4E6A41ED1FFA95CF00DC7D56 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( @@ -226,35 +372,240 @@ /* End PBXResourcesBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ - AAE1A28E1E02618D00610C40 /* Sources */ = { + 4E4C4E7C1FFA0D9400058722 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 4E6A41E11FFA942300DC7D56 /* UIFont+Extension.swift in Sources */, + 4E4C4E981FFA7CDE00058722 /* Font.swift in Sources */, + 4E4C4E991FFA7CE500058722 /* FontRepresentable.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 4E4C4E851FFA0D9400058722 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 4E4C4E8F1FFA0D9400058722 /* UIFontComplete_tvOSTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 4E6A41E21FFA95CF00DC7D56 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - AA813B591F0092450096ABBD /* FontRepresentable.swift in Sources */, - AA813B581F0092450096ABBD /* Font.swift in Sources */, - AA813B5A1F0092450096ABBD /* UIFont+Extension.swift in Sources */, + 4E6A42001FFA968100DC7D56 /* UIFont+Extension.swift in Sources */, + 4E6A41FE1FFA967900DC7D56 /* Font.swift in Sources */, + 4E6A41FF1FFA967D00DC7D56 /* FontRepresentable.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; - AAE1A2981E02618D00610C40 /* Sources */ = { + 4E6A41EB1FFA95CF00DC7D56 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - AAED536C1F53EEA7009C874C /* UIFontCompleteTests.swift in Sources */, + 4E6A42031FFA96D700DC7D56 /* UIFontCompleteTests.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ - AAE1A29F1E02618D00610C40 /* PBXTargetDependency */ = { + 4E4C4E8C1FFA0D9400058722 /* PBXTargetDependency */ = { isa = PBXTargetDependency; - target = AAE1A2921E02618D00610C40 /* UIFontComplete */; - targetProxy = AAE1A29E1E02618D00610C40 /* PBXContainerItemProxy */; + target = 4E4C4E801FFA0D9400058722 /* UIFontComplete-tvOS */; + targetProxy = 4E4C4E8B1FFA0D9400058722 /* PBXContainerItemProxy */; + }; + 4E6A41F21FFA95CF00DC7D56 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 4E6A41E61FFA95CF00DC7D56 /* UIFontComplete-iOS */; + targetProxy = 4E6A41F11FFA95CF00DC7D56 /* PBXContainerItemProxy */; }; /* End PBXTargetDependency section */ /* Begin XCBuildConfiguration section */ + 4E4C4E931FFA0D9400058722 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CODE_SIGN_IDENTITY = ""; + CODE_SIGN_STYLE = Automatic; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_C_LANGUAGE_STANDARD = gnu11; + INFOPLIST_FILE = "UIFontComplete-tvOS/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "com.maccharoli.UIFontComplete-tvOS"; + PRODUCT_NAME = UIFontComplete; + SDKROOT = appletvos; + SKIP_INSTALL = YES; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = 3; + TVOS_DEPLOYMENT_TARGET = 10.0; + }; + name = Debug; + }; + 4E4C4E941FFA0D9400058722 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CODE_SIGN_IDENTITY = ""; + CODE_SIGN_STYLE = Automatic; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_C_LANGUAGE_STANDARD = gnu11; + INFOPLIST_FILE = "UIFontComplete-tvOS/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "com.maccharoli.UIFontComplete-tvOS"; + PRODUCT_NAME = UIFontComplete; + SDKROOT = appletvos; + SKIP_INSTALL = YES; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = 3; + TVOS_DEPLOYMENT_TARGET = 10.0; + }; + name = Release; + }; + 4E4C4E961FFA0D9400058722 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CODE_SIGN_STYLE = Automatic; + GCC_C_LANGUAGE_STANDARD = gnu11; + INFOPLIST_FILE = "UIFontComplete-tvOSTests/Info.plist"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "com.maccharoli.UIFontComplete-tvOSTests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = appletvos; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = 3; + TVOS_DEPLOYMENT_TARGET = 11.2; + }; + name = Debug; + }; + 4E4C4E971FFA0D9400058722 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CODE_SIGN_STYLE = Automatic; + GCC_C_LANGUAGE_STANDARD = gnu11; + INFOPLIST_FILE = "UIFontComplete-tvOSTests/Info.plist"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "com.maccharoli.UIFontComplete-tvOSTests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = appletvos; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = 3; + TVOS_DEPLOYMENT_TARGET = 11.2; + }; + name = Release; + }; + 4E6A41F91FFA95CF00DC7D56 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CODE_SIGN_IDENTITY = "iPhone Developer"; + CODE_SIGN_STYLE = Automatic; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_C_LANGUAGE_STANDARD = gnu11; + INFOPLIST_FILE = "UIFontComplete-iOS/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 11.2; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "com.maccharoli.UIFontComplete-iOS"; + PRODUCT_NAME = UIFontComplete; + SKIP_INSTALL = YES; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 4E6A41FA1FFA95CF00DC7D56 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CODE_SIGN_IDENTITY = "iPhone Developer"; + CODE_SIGN_STYLE = Automatic; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_C_LANGUAGE_STANDARD = gnu11; + INFOPLIST_FILE = "UIFontComplete-iOS/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 11.2; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "com.maccharoli.UIFontComplete-iOS"; + PRODUCT_NAME = UIFontComplete; + SKIP_INSTALL = YES; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; + 4E6A41FC1FFA95CF00DC7D56 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CODE_SIGN_IDENTITY = "iPhone Developer"; + CODE_SIGN_STYLE = Automatic; + GCC_C_LANGUAGE_STANDARD = gnu11; + INFOPLIST_FILE = "UIFontComplete-iOSTests/Info.plist"; + IPHONEOS_DEPLOYMENT_TARGET = 11.2; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "com.maccharoli.UIFontComplete-iOSTests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 4E6A41FD1FFA95CF00DC7D56 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CODE_SIGN_IDENTITY = "iPhone Developer"; + CODE_SIGN_STYLE = Automatic; + GCC_C_LANGUAGE_STANDARD = gnu11; + INFOPLIST_FILE = "UIFontComplete-iOSTests/Info.plist"; + IPHONEOS_DEPLOYMENT_TARGET = 11.2; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "com.maccharoli.UIFontComplete-iOSTests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; AAE1A2A51E02618D00610C40 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { @@ -368,104 +719,50 @@ }; name = Release; }; - AAE1A2A81E02618D00610C40 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_IDENTITY = ""; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = UIFontComplete/Info.plist; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = fontComplete.UIFontComplete; - PRODUCT_NAME = "$(TARGET_NAME)"; - SKIP_INSTALL = YES; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 4.0; - }; - name = Debug; - }; - AAE1A2A91E02618D00610C40 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_IDENTITY = ""; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = UIFontComplete/Info.plist; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = fontComplete.UIFontComplete; - PRODUCT_NAME = "$(TARGET_NAME)"; - SKIP_INSTALL = YES; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 4.0; - }; - name = Release; - }; - AAE1A2AB1E02618D00610C40 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - CLANG_ENABLE_MODULES = YES; - DEVELOPMENT_TEAM = ""; - INFOPLIST_FILE = UIFontCompleteTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = fontComplete.UIFontCompleteTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_SWIFT3_OBJC_INFERENCE = On; - SWIFT_VERSION = 4.0; - }; - name = Debug; - }; - AAE1A2AC1E02618D00610C40 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - CLANG_ENABLE_MODULES = YES; - DEVELOPMENT_TEAM = ""; - INFOPLIST_FILE = UIFontCompleteTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = fontComplete.UIFontCompleteTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_SWIFT3_OBJC_INFERENCE = On; - SWIFT_VERSION = 4.0; - }; - name = Release; - }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ - AAE1A28D1E02618D00610C40 /* Build configuration list for PBXProject "UIFontComplete" */ = { + 4E4C4E921FFA0D9400058722 /* Build configuration list for PBXNativeTarget "UIFontComplete-tvOS" */ = { isa = XCConfigurationList; buildConfigurations = ( - AAE1A2A51E02618D00610C40 /* Debug */, - AAE1A2A61E02618D00610C40 /* Release */, + 4E4C4E931FFA0D9400058722 /* Debug */, + 4E4C4E941FFA0D9400058722 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 4E4C4E951FFA0D9400058722 /* Build configuration list for PBXNativeTarget "UIFontComplete-tvOSTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 4E4C4E961FFA0D9400058722 /* Debug */, + 4E4C4E971FFA0D9400058722 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 4E6A41F81FFA95CF00DC7D56 /* Build configuration list for PBXNativeTarget "UIFontComplete-iOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 4E6A41F91FFA95CF00DC7D56 /* Debug */, + 4E6A41FA1FFA95CF00DC7D56 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - AAE1A2A71E02618D00610C40 /* Build configuration list for PBXNativeTarget "UIFontComplete" */ = { + 4E6A41FB1FFA95CF00DC7D56 /* Build configuration list for PBXNativeTarget "UIFontComplete-iOSTests" */ = { isa = XCConfigurationList; buildConfigurations = ( - AAE1A2A81E02618D00610C40 /* Debug */, - AAE1A2A91E02618D00610C40 /* Release */, + 4E6A41FC1FFA95CF00DC7D56 /* Debug */, + 4E6A41FD1FFA95CF00DC7D56 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - AAE1A2AA1E02618D00610C40 /* Build configuration list for PBXNativeTarget "UIFontCompleteTests" */ = { + AAE1A28D1E02618D00610C40 /* Build configuration list for PBXProject "UIFontComplete" */ = { isa = XCConfigurationList; buildConfigurations = ( - AAE1A2AB1E02618D00610C40 /* Debug */, - AAE1A2AC1E02618D00610C40 /* Release */, + AAE1A2A51E02618D00610C40 /* Debug */, + AAE1A2A61E02618D00610C40 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; diff --git a/UIFontComplete.xcodeproj/xcshareddata/xcschemes/UIFontComplete.xcscheme b/UIFontComplete.xcodeproj/xcshareddata/xcschemes/UIFontComplete-tvOS.xcscheme similarity index 75% rename from UIFontComplete.xcodeproj/xcshareddata/xcschemes/UIFontComplete.xcscheme rename to UIFontComplete.xcodeproj/xcshareddata/xcschemes/UIFontComplete-tvOS.xcscheme index 2f3b7187b1ca1479dd49302e6d05bc0036e392e9..01f1c3acc37262b8d5c3fb88684a2ea96363ab5c 100644 --- a/UIFontComplete.xcodeproj/xcshareddata/xcschemes/UIFontComplete.xcscheme +++ b/UIFontComplete.xcodeproj/xcshareddata/xcschemes/UIFontComplete-tvOS.xcscheme @@ -1,6 +1,6 @@ @@ -27,16 +27,15 @@ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" language = "" - shouldUseLaunchSchemeArgsEnv = "YES" - codeCoverageEnabled = "YES"> + shouldUseLaunchSchemeArgsEnv = "YES"> @@ -44,9 +43,9 @@ @@ -67,9 +66,9 @@ @@ -85,9 +84,9 @@