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
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free 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