This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| To use a custom font in a SwiftUI playground, place the font in | |
| the playground's Resources folder. It can then be loaded into the | |
| playground useing CTFontManagerRegisterFontsForURL() | |
| In the following example, Lato-Bold has been places into the | |
| Resouces folder | |
| */ | |
| import SwiftUI |