First to be clear, I am not asking how can I add custom fonts to SwiftUI, I'm asking how can I extend the Font type with custom fonts.
For example I am using the custom font Manrope. I added the ttf files to my project and added it to my Information plist. Current I have to use the font like this:
.font(.custom("Manrope-SemiBold", size: 24))
I was wondering if I could extend Font so that I could use Manrope like this
.font(.manrope.semibold())
or
.font(.manrope("Semibold"))