using custom fonts

hello, i have Xcode Version 14.2 (14C18) installed on a mac mini running macOS Montery 12.7.5, i want to add a custom font to the text I found here 5 but the info I looked up isn't helping me with the version of xcode i'm writing on, I don't know the first thing to do after adding the font to the project. The options that other developers use isn't available to me any help is appreciated

Answered by DTS Engineer in 789408022

Please check the following resources:

WWDC2019: Font Management and Text Scaling https://developer.apple.com/videos/play/wwdc2019/227/

CTFontManagerRegisterFontsForURL(::_:) https://developer.apple.com/documentation/coretext/1499468-ctfontmanagerregisterfontsforurl/

Please check the following resources:

WWDC2019: Font Management and Text Scaling https://developer.apple.com/videos/play/wwdc2019/227/

CTFontManagerRegisterFontsForURL(::_:) https://developer.apple.com/documentation/coretext/1499468-ctfontmanagerregisterfontsforurl/

using custom fonts
 
 
Q