Font management (System & Custom) for iOS and tvOS. No more wasted time searching for names of UIFont fonts and no more surprises at runtime if a font name was mistyped. This library is simply one extension to UIFont and one Font enum with a case for each system font on iOS and tvOS. Custom font support is also available, please keep reading for details! This library currently provides two different options for creating UIFont objects. The first is calling the font name off of the provided BuiltInFont enumeration and then calling of(size:) to provide the desired size. The other UIFont creation method offered by this library is similar to the normal UIFont constructor except that instead of providing a String of the desired font, a case of the Font enum is provided instead. Custom Fonts can be added with the help of the FontRepresentable protocol.

Features

  • Custom Fonts can be added with the help of the FontRepresentable protocol
  • SwiftUI support
  • SwiftUI Font is handled in a same way as UIKit UIFont
  • Requires Xcode 9.0
  • Requires Swift 4.0+
  • You can now simply start typing the name of the font enum and let code completion help you

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow UIFontComplete

UIFontComplete Web Site

Other Useful Business Software
Build Securely on AWS with Proven Frameworks Icon
Build Securely on AWS with Proven Frameworks

Lay a foundation for success with Tested Reference Architectures developed by Fortinet’s experts. Learn more in this white paper.

Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
Download Now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of UIFontComplete!

Additional Project Details

Operating Systems

Apple iPhone

Programming Language

Swift

Related Categories

Swift User Interface (UI) Software

Registered

2023-06-26