I want to set a custom downloaded font for all the text in Xcode playgrounds in SwiftUI. Can anybody help me?
Custom fonts in Xcode Playgrounds
Creating a theme is how you set a font for the text in Xcode. I'm not sure if Xcode supports custom fonts, but take the following steps to create a theme and set a font:
Choose Xcode > Preferences.
Click the Themes button at the top of the preferences window.
Select one of the themes that you want to duplicate.
Click the Add button below the list of themes.
Choose Duplicate from the menu of theme choices.
Select your duplicated theme and press the Return key to rename the theme.
Select all the items for the theme, starting with Plain Text and ending with the last item, which should be Heading.
Below the list of items is a selected font. Next to the font is a small button. Click that button to open the Font panel and choose the font.