Created
March 28, 2020 18:52
-
-
Save Bradysm/f25f59fe9ae1766ceeb451e8508ae4bc to your computer and use it in GitHub Desktop.
Manager struct to ensure encapsulation of font names
This file contains 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
// FontNameManager created by Brady Murphy | |
struct FontNameManager { | |
//MARK: name of font family | |
struct Montserrat { | |
static let light = "Montserrat-Light" | |
static let regular = "Montserrat-Regular" | |
// add rest of the font style names | |
} | |
// ... structs for other typefaces | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment