Setting Up a Document-Based App
We start building our Markdown Playgrounds app from a plain command-line app package, leveraging AppKit's document architecture.
Episode 145 · Mar 29 2019
We build a Markdown editor for the Mac that can execute Swift code blocks. The app uses CommonMark to parse the Markdown and SwiftSyntax for syntax highlighting of Swift code blocks. For the execution of Swift code, we use a Swift REPL process.
7 Episodes · 2h54min
We start building our Markdown Playgrounds app from a plain command-line app package, leveraging AppKit's document architecture.
Episode 145 · Mar 29 2019
We use CommonMark to parse the markdown string and then add attributes to highlight its syntax.
Episode 146 · Apr 05 2019
We launch a Swift REPL process to execute Swift code in our Markdown file.
Episode 147 · Apr 12 2019
We fix a couple of string-related bugs when interoperating with the cmark library and the REPL.
Episode 148 · Apr 19 2019
We use SwiftSyntax to add highlighting for Swift code blocks.
Episode 149 · Apr 26 2019
We use several pieces of code from earlier episodes to build a link checking extension on URLSession.
Episode 154 · May 31 2019
We improve the performance of syntax highlighting to be able to work in large documents.
Episode 155 · Jun 07 2019