Can't get custom fonts to work

Hey

I'm struggling to get to use Custom fonts to work In Xcode 15, I have installed 3 fonts that I downloaded from googlefonts.. I'm new to Xcode and can't seem to get the coding right or may have done something wrong when installing them however, it isn't throwing an error code, it's just not showing the typeface.

font(.custom("IslandMoments-Regular2", size: 60, relativeTo: .title)) (This is the code I have been using)

Thanks, Caitlin

Can't get custom fonts to work
 
 
Q