CodeEditor
STTextView
CodeEditor | STTextView | |
---|---|---|
2 | 2 | |
415 | 868 | |
2.7% | - | |
4.8 | 9.1 | |
about 2 months ago | 4 days ago | |
Swift | Swift | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
CodeEditor
-
NavigationSplitView state management
The related issue: https://github.com/ZeeZide/CodeEditor/issues/15
- Richt TextEditor in SwiftUI
STTextView
-
Nerdy internals of an Apple text editor
For the educational purpose of modern TextKit and NSTextView-like implementation, you can check out https://github.com/krzyzanowskim/STTextView that is modern re-implementation of the text view.
-
I Quit Using SwiftUI
Out of curiosity, what framework/library/solution are you using for your text editor? I've been researching this space for a while and syntax highlighting text editors are rare and sparse.
There is this: https://github.com/krzyzanowskim/STTextView for textkit2, but the author ended up writing his own text input client.
How did you do about providing autocomplete, etc?
Thanks!
What are some alternatives?
HighlightedTextEditor - A SwiftUI view for dynamically highlighting user input
NavigationBackport - Backported SwiftUI navigation APIs introduced in WWDC22
AuroraEditor - Aurora Editor is a IDE built by the community, for the community, and written in Swift for the best native performance and feel for macOS.
TextEdit.it - A cut down, simple, text editor for Mac. Built with SwiftUI (mostly). [Moved to: https://github.com/markydoodled/Note.it]
CodeEditorView - SwiftUI code editor view for iOS, visionOS, and macOS
TextViewBenchmark - A suite of performance tests for macOS text views
MiaoYan - ⛷ Lightweight Markdown app to help you write great sentences. ⛷ 轻灵的 Markdown 笔记本伴你写出妙言
Proton - Purely native and extensible rich text editor for iOS and macOS Catalyst apps
Pine - A modern, native macOS markdown editor
SwiftUIBackports - A collection of SwiftUI backports for iOS, macOS, tvOS and watchOS
Flutter - Flutter makes it easy and fast to build beautiful apps for mobile and beyond