在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):morizotter/SwiftFontName开源软件地址(OpenSource Url):https://github.com/morizotter/SwiftFontName开源编程语言(OpenSource Language):Swift 91.6%开源软件介绍(OpenSource Introduction):SwiftFontNameSwiftFontName is font name complements and supports localized font library. You don't need to search font name any more with SwiftFontName. When using UIFont, you sometimes search font name string because UIFont needs string font name value. Font family name and font name don't have organized naming rule, so it's painful to search correct string. With SwiftFontName, font name candidates shows up when you put first word of font family name. Features
UsageFont NameTo start using SwiftFontName, write the following line wherever you want to user font complements: import SwiftFontName Then: FontName.HelveticaNeueLight // HelveticaNeue-Light It is really simple! Localized Font NameAnd you can select localized font: LocalizedFontName(FontName.Copperplate, ["ja": FontName.HiraKakuProNW6, "en": FontName.HelveticaNeueLight]) It means that when preferredLanguage is Japanese, use Requirements
InstallationSwiftFontName is available through CocoaPods. To install it, simply add the following line to your Podfile: CocoaPods:use_frameworks!
pod 'SwiftFontName', '~> 4.0.0' Carthage:
ManuallyTo copy Contribution
AuthorNaoki Morita, [email protected] LicenseSwiftFontName is available under the MIT license. See the LICENSE file for more info. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论