Skip to content

Instantly share code, notes, and snippets.

@howlingblast
howlingblast / Fonts.swift
Created July 11, 2017 14:23 — forked from feighter09/Fonts.swift
Set global font for iOS app in one place
// MARK: - Swizzling
extension UIFont {
class var defaultFontFamily: String { return "Georgia" }
override public class func initialize()
{
if self == UIFont.self {
swizzleSystemFont()
}
}