Skip to content

Instantly share code, notes, and snippets.

@Marcocanc
Last active June 15, 2017 12:23
Show Gist options
  • Save Marcocanc/88290e844a1b2a2c6c1548e48239c408 to your computer and use it in GitHub Desktop.
Save Marcocanc/88290e844a1b2a2c6c1548e48239c408 to your computer and use it in GitHub Desktop.
Custom Fonts in iOS
import Foundation
/// Custom FontWeights to be used with the .font UIFont class functions
public enum FontWeight: String {
case regular = "Regular"
case medium = "Medium"
case black = "Black"
case light = "Light"
case thin = "Thin"
case bold = "Bold"
case heavy = "Heavy"
case ultraLight = "UltLt"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment