Skip to content
Pavel Kasila edited this page Mar 21, 2021 · 4 revisions

Welcome to the SwiftyMonaco wiki!

SwiftyMonaco is a wrapper for Monaco Editor from Microsoft.

Supported platforms

Platform State
macOS 11+ seems to run relatively stable
iPadOS 14+ instable, not tested

Features

  • Syntax highlighting
  • Automatic interface theme detection

Basic example

struct EditorView: View {
    @State var text: String
    
    var body: some View {
        SwiftyMonaco(text: $text)
    }
}
Clone this wiki locally