Skip to content

cheebow/PlaceholderTextView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PlaceholderTextView

CI Status Version License Platform

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

let placeholderTextView = PlaceholderTextView()
let frame = CGRect(x: 0.0, y: 64.0, width: view.bounds.width, height: 300.0)
placeholderTextView.frame = frame
placeholderTextView.placeholder = "Placeholder Text"
placeholderTextView.placeholderColor = UIColor.lightGray
self.view.addSubview(placeholderTextView)

Requirements

  • Swift 4.2+

Installation

PlaceholderTextView is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "PlaceholderTextView"

Author

CHEEBOW, cheebow@gmail.com

License

PlaceholderTextView is available under the MIT license. See the LICENSE file for more info.