Skip to content

Instantly share code, notes, and snippets.

@moveitonover
moveitonover / PrintFonts.swift
Created May 23, 2018 11:42
Print all font names in iOS using Swift
// Iterate through all font families and print names ✌🏻
UIFont.familyNames.flatMap { UIFont.fontNames(forFamilyName: $0) }
.forEach { print("Font: \($0)") }