swiftui font styles code example
Example 1: swiftui font add
// Create a new Folder(group) "Fonts"
// Drag your fonts files in it with Create Groups and your prj as Ref
// Add property “Fonts provided by application.” into Info.plist
// Copy and paste the names of the fonts with extension
// Now use them
.font(.custom("Your-Font-Name.noExtension", size: 42))
Example 2: how to set the font of text in swiftui
Text("Simple Swift Guide").font(.system(size: 45, weight: .bold, design: .default))