An example project using PersonaUI and PersonaKit to create monograms (the default images used for Contact pictures). The project includes cleaned up headers of relavent classes.
PRMonogram
uses pre-defined fonts. They're in an array accessible through a class method. Below are images of the fonts availible on iOS 10.2 in order.