Latest 1.0.3
Homepage https://github.com/outofcode/HintTextView
License MIT
Platforms ios 8.0, requires ARC
Authors

iOS. UITextView support PlaceHolder

cocoapods

pod ‘HintTextView’

Use Code

class ViewController: UIViewController {

@IBOutlet private weak var textView: HintTextView!

override func viewDidLoad() {
    super.viewDidLoad()

    textView.layer.borderColor = UIColor.black.cgColor
    textView.layer.borderWidth = 1

    textView.hint = "텍스트를 입력하여 주세요. 내가 하고 싶은 말을 다 적어봅시다."
}

}

Use Storyboard

Simple use!

Attribute inspector

Latest podspec

{
    "name": "HintTextView",
    "version": "1.0.3",
    "summary": "UITextView support PlaceHolder.",
    "homepage": "https://github.com/outofcode/HintTextView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "OutOfCode": "[email protected]"
    },
    "source": {
        "git": "https://github.com/outofcode/HintTextView.git",
        "tag": "1.0.3"
    },
    "source_files": "Sources/**/*",
    "requires_arc": true,
    "platforms": {
        "ios": "8.0"
    },
    "ios": {
        "frameworks": "UIKit"
    },
    "swift_version": "4.0"
}

Pin It on Pinterest

Share This