swift uitextview border style
func buildTextViewBorder(){ let borderColor : UIColor = UIColor(red: 0.85, green: 0.85, blue: 0.85, alpha: 1.0) textView.layer.borderWidth = 0.5 textView.layer.borderColor = borderColor.cgColor textView.layer.cornerRadius = 5.0 }