Skip to content

Instantly share code, notes, and snippets.

final class PlaceholderTextView: UITextView {
private lazy var placeholderLabel: UILabel = {
let label = UILabel()
label.translatesAutoresizingMaskIntoConstraints = false
label.backgroundColor = .clear
label.isUserInteractionEnabled = false
label.textColor = .neutralDark600
label.numberOfLines = 0
label.font = .systemFont(ofSize: 14, weight: .medium)
return label