Enumerate fonts on your iOS device

When you work with custom fonts in your iOS projects, you’ll need to find out the correct name for your font.

You can do this by looping though all the font families and then use the font family name to loop through all the fonts that belong to the family.

The following function will take care of this and return you a nice list ordered per font family.

I’ve also created a gist on github You can find it right here.