# KennethTsang/GrowingTextView

An UITextView in Swift. Support auto growing, placeholder and length limit.

Repository: https://github.com/KennethTsang/GrowingTextView
Canonical: https://ross.abutalabs.com/products/kennethtsang-growingtextview
Language: Swift
License: MIT
License Family: permissive
Topics: uitextview, growing, placeholder, growingtextview, swift, chat, messaging
Last push: 2022-10-11T12:15:29+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3850, "days_push": 1422, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1083, forks 131 (observed 2026-08-28T04:03:31.237653+00:00)

## What it is
A Swift UITextView subclass for iOS that automatically grows with user input, supporting placeholder text and character length limits. It is commonly used as the message input field in chat and messaging interfaces.

## Use cases
- auto-growing text input for a chat app message composer
- UITextView with placeholder text support in Swift
- limit the number of characters a user can type in a text view
- build an iMessage-style input toolbar in iOS
- make a text view resize dynamically as the user types
- drop-in replacement for UITextView in a messaging UI

## When to choose
- building an iOS chat or messaging interface that needs a self-resizing input field
- you want a UITextView with placeholder and max-length behavior without writing it yourself
- you need a lightweight, CocoaPods/Carthage-installable Swift component

## When to avoid
- building for Android or cross-platform frameworks like Flutter or React Native
- you need a fully featured chat UI kit rather than just the input text view
- your project requires actively maintained dependencies with recent updates

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, form-handling
- domain: mobile-development, frontend
- platform: -
- tags: uitextview, auto-growing-textview, chat-input, placeholder, character-limit, cocoapods, carthage, swift, messaging, ios, mobile

## Member repositories
- KennethTsang/GrowingTextView (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:31.237653+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:50:12.382117+00:00, confidence not recorded.
  - readme: https://github.com/KennethTsang/GrowingTextView (fetched 2026-08-28T04:03:31.237653+00:00, sha baf9f27518fc)
- Data as of 2026-08-30T08:39:29.467469+00:00.
