Latest 0.2.0
Homepage https://github.com/cheebow/PlaceholderTextView
License MIT
Platforms ios 8.0, requires ARC
Authors

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, y: 20, width: 320, height: 100)
placeholderTextView.frame = frame
placeholderTextView.placeholder = "Placeholder Text"
placeholderTextView.placeholderColor = UIColor.lightGray
self.view.addSubview(placeholderTextView)

Requirements

  • Swift 3.0+

Installation

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

pod "PlaceholderTextView"

Author

CHEEBOW, [email protected]

License

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

Latest podspec

{
    "name": "PlaceholderTextView",
    "version": "0.2.0",
    "summary": "TextView with placeholder.",
    "description": "Add a placeholder to TextView.",
    "homepage": "https://github.com/cheebow/PlaceholderTextView",
    "license": "MIT",
    "authors": {
        "CHEEBOW": "[email protected]"
    },
    "source": {
        "git": "https://github.com/cheebow/PlaceholderTextView.git",
        "tag": "0.2.0"
    },
    "social_media_url": "https://twitter.com/cheebow",
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This