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
// Iterate through all font families and print names ✌🏻 | |
UIFont.familyNames.flatMap { UIFont.fontNames(forFamilyName: $0) } | |
.forEach { print("Font: \($0)") } |
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
// | |
// UIKitLocalizedString.swift | |
// | |
// Helper class for accessing the localized strings shipped with Apple UIKit | |
// | |
class UIKitLocalizedString { | |
static let bundle = Bundle(identifier: "com.apple.UIKit") |
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
// | |
// Logger.swift | |
// | |
// Drop in replacement for `print` and `debugPrint`. | |
// | |
func print(_ items: Any..., separator: String = " ", terminator: String = "\n") { | |
#if DEBUG | |
Swift.print(items, separator: separator, terminator: terminator) | |
#endif |
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
{ | |
"TZS": [ | |
"rwk_TZ", | |
"jmc_TZ", | |
"lag_TZ", | |
"sw_TZ", | |
"ksb_TZ", | |
"bez_TZ", | |
"asa_TZ", | |
"sbp_TZ", |