Building SwiftUI apps in Markdown

Philip Niedertscheider
ITNEXT
Published in
6 min readMay 17, 2021

--

When your iOS app uses Markdown documents, why can’t we just transform them into natives view? What if instead of writing Swift UI code, we build a custom viewer app, which can even be run from Xcode Live Preview Canvas?

Just look at what you can do with it:

Demo showing live Markdown to SwiftUI teasing this article

In this story we are going to cover the following topics:

  1. Parsing Markdown into an AST

--

--

Writer for

Changing the status quo of iOS & macOS development | Self-Taught | Co-Founder/CTO @techprimate | Follow me on Twitter @philprimes for updates 🚀