# devxoul/UITextView-Placeholder

A missing placeholder for UITextView

Repository: https://github.com/devxoul/UITextView-Placeholder
Canonical: https://ross.abutalabs.com/products/uitextview-placeholder
Language: Objective-C
License: MIT
License Family: permissive
Topics: uitextview, placeholder, objective-c
Last push: 2026-01-19T06:07:42+00:00

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

## Adoption (not part of the score)
Stars 1547, forks 273 (observed 2026-08-28T04:05:01.668881+00:00)

## What it is
A small Objective-C/Swift library that adds a missing placeholder property to UITextView on iOS. It supports plain text, custom placeholder color, and attributed placeholders, installed via Swift Package Manager.

## Use cases
- add placeholder text to a UITextView
- show hint text in a multiline text input
- customize placeholder color in a text view
- use attributed placeholder styling in UITextView
- avoid writing custom placeholder logic for text views

## When to choose
- you need UITextView placeholder support in an iOS app with minimal setup
- you want a lightweight, battle-tested category/extension instead of a custom subclass
- you install dependencies via Swift Package Manager

## When to avoid
- you use SwiftUI instead of UIKit
- you need CocoaPods support, which has been removed
- you already use a larger UI component library that includes placeholder text views

## Facets
- artifact type: library
- maturity: stable
- function: ui-components
- domain: mobile-development, apple-ecosystem
- platform: -
- tags: uitextview, placeholder, objective-c, cocoa-touch, spm, ios, swift

## Member repositories
- devxoul/UITextView-Placeholder (main) score 60

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:01.668881+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-30T04:30:29.186914+00:00, confidence not recorded.
  - readme: https://github.com/devxoul/UITextView-Placeholder (fetched 2026-08-28T04:05:01.668881+00:00, sha c1897146cd60)
- Data as of 2026-08-30T08:39:29.467469+00:00.
