TextViewBenchmark
STTextView
TextViewBenchmark | STTextView | |
---|---|---|
1 | 2 | |
32 | 876 | |
- | - | |
5.6 | 9.1 | |
8 months ago | 2 days ago | |
Swift | Swift | |
BSD 3-clause "New" or "Revised" 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.
TextViewBenchmark
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?
StyledTextKit - Declarative building and fast rendering attributed string library.
NavigationBackport - Backported SwiftUI navigation APIs introduced in WWDC22
iina - The modern video player for macOS.
TextEdit.it - A cut down, simple, text editor for Mac. Built with SwiftUI (mostly). [Moved to: https://github.com/markydoodled/Note.it]
TwitterTextEditor - A standalone, flexible API that provides a full-featured rich text editor for iOS applications.
CodeEditor - A SwiftUI TextEditor with syntax highlighting using Highlight.js
Proton - Purely native and extensible rich text editor for iOS and macOS Catalyst apps
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