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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
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