krzyzanowskim/STTextView
Performant and reusable text view component (TextKit 2), with line numbers and more. UITextView / NSTextView replacement. observed · 2026-08-28
Health v2 · maintenance only
98/100
- Activity 98
- Release rhythm 97
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 11.0
- age_days: 1659
- days_rel: 20
- days_push: 15
- n_releases_24m: 33
Adoption not part of the score
1587 stars · 108 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
STTextView is a performant, reusable text view component for macOS and iOS built on TextKit 2, serving as an NSTextView/UITextView replacement. It includes features like line numbers, multi-cursor editing, search/replace, and plugin support for syntax highlighting.
Use cases
- build a source code editor for macOS or iOS
- replace NSTextView with a faster TextKit 2 text view
- display line numbers in a text editing component
- implement multi-cursor text editing in a Swift app
- add syntax highlighting to a custom text editor
- create a performant text editor with search and replace
- show invisible characters and custom annotations in a text view
When to choose
- you need a performant text editing component on Apple platforms
- NSTextView/UITextView with TextKit 2 is too buggy or slow for your use case
- you want line numbers, multi-cursor, or plugin extensibility out of the box
- you are building a code editor or IDE-like app in Swift
When to avoid
- you need a cross-platform (non-Apple) text editor
- you only need simple, short text input where UITextView/NSTextView suffices
- you require TextKit 1 compatibility or older OS versions than macOS 14 / iOS 16
- you need a full IDE with project management rather than a text view component
Facets
library · maturity active
ui-components editor developer-tools text-editors cross-platform textkit2 nstextview-replacement uitextview-replacement line-numbers source-code-editor swiftui appkit uikit macos ios swift
2 sources
- readme: https://github.com/krzyzanowskim/STTextView · fetched 2026-08-28 · 1278f2c966c8
- homepage: https://swift.best · fetched 2026-08-29 · 27f294826afe
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| krzyzanowskim/STTextView | main | 98 |
For agents
markdown · JSON · MCP: product_card(name="krzyzanowskim/STTextView")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem