Skip to content

Repository files navigation

PlaceholderUITextView

Platform Language Swift Version iOS Version CI Status Version License Carthage compatible SPM compatible

A drop-in replacement for UITextView with native placeholder support and accessibility features.

PlaceholderUITextView Demo

✨ Features

  • 🎯 Native placeholder support like UITextField
  • 🎨 Rich text placeholders with NSAttributedString
  • ♿ Full accessibility and VoiceOver support
  • 🎭 Smooth animations and modern Swift API
  • 📱 iOS 15+ with Interface Builder support

🚀 Quick Start

import PlaceholderUITextView

let textView = PlaceholderUITextView()
textView.placeholder = "What's on your mind?"
textView.placeholderTextColor = .systemGray

📦 Installation

Swift Package Manager

dependencies: [
    .package(url: "https://github.com/hoangtaiki/PlaceholderUITextView.git", from: "2.0.0")
]

CocoaPods

pod 'PlaceholderUITextView', '~> 2.0'

Carthage

github "hoangtaiki/PlaceholderUITextView" ~> 2.0

📚 Documentation

📄 License

MIT License. See LICENSE for details.

🙏 Author

Hoangtaiki - duchoang.vp@gmail.com


Questions? Open an issue or check our documentation!

About

A missing placeholder for UITextView

Topics

Resources

Contributing

Stars

20 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages