Close the gap between choosing a font and using it
FontMate is a tool for browsing the fonts available on iOS, previewing them with custom text, and bringing a selected style into a SwiftUI project. I built it independently, including the interface, Swift and SwiftUI code, local settings, testing, and App Store release.
Typography is something I care about in both graphic design and app development. I wanted to inspect a font on the device where it would appear and keep the preview connected to a usable code snippet.
Download
The app in use
Compare under the same conditions
Users browse by font family, inspect its variants, and adjust the sample text, size, weight, and color. Favorites provide a smaller collection to compare later. The preview settings carry across these views, so switching from the full library to favorites does not require setting up the same comparison again.
That consistency is a small product decision with a practical consequence: differences between fonts are easier to judge when the rest of the preview stays the same.
From preview to snippet
FontMate constructs a SwiftUI text snippet from the chosen font and preview settings and copies it to the pasteboard. The goal is to reduce the repeated work between exploring a style and trying it in a real interface.
Snippet generation also connects the visual and textual sides of the tool. The font name, size, weight, and color shown in the preview need to correspond to what is copied.
Technical choices
I used SwiftUI for the live previews and controls, with AppStorage for shared preferences. Favorites are saved as a JSON-encoded array. Colors are serialized as hex values so a chosen color can be restored and used when constructing a snippet.
The app includes font-family detail views, copy feedback, and haptic interactions. I also worked on dark-mode presentation and localized content in English and Simplified Chinese.
What I learned
FontMate is a small developer tool, but it made me examine how settings travel through a product. A size control is not an isolated widget: it affects a preview, a comparison, a saved preference, and generated text.
I enjoyed building a tool at the intersection of two interests. It gives visual exploration a direct route into code.