swift default font 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: change font swiftui
.font(.custom("FONT_NAME", size: 20))