Set placeholder text in UITextView Swift

Use following pod command in your pod file
pod 'UITextView+Placeholder'
Open terminal and go to project path in your terminal and write following command
install pod
Import following class in your ViewController
import UITextView_Placeholder
Use following code for set placeholder string in UITextView
txtAddress.placeholderColor = UIColor.darkGray
txtAddress.textColor = UIColor.Black
txtAddress.placeholder = "Enter Address"