-
-
Notifications
You must be signed in to change notification settings - Fork 18
Home
Pavel Kasila edited this page Aug 30, 2021
·
4 revisions
SwiftyMonaco
is a wrapper for Monaco Editor from Microsoft.
Platform | State |
---|---|
macOS 11+ | seems to run relatively stable |
iPadOS 14+ | instable, not tested |
- Syntax highlighting
- Automatic interface theme detection
struct EditorView: View {
@State var text: String
var body: some View {
SwiftyMonaco(text: $text)
}
}
Remember! You should allow outgoing internet connections in your app before using this library, because Monaco Editor runs inside WKWebView
and macOS considers it as an outgoing internet connection (Network -> Outgoing connections (Client)
):