Swift Snippet – Output all fonts to log

July 22, 2014
Reading Time: 1 minute

I was working on an app refresh in Swift the last few weeks, and wanted to get an output of all the fonts available to me. However, I decided to just write a quick Swift function to do just this:

Updated for Beta 5.
Enjoy!

Leave a Reply

Your email address will not be published. Required fields are marked *