Skip to content

Commit

Permalink
Add support for attributedText
Browse files Browse the repository at this point in the history
  • Loading branch information
mlight3 committed May 23, 2017
1 parent b464a04 commit 5ab1820
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions NextGrowingTextView/NextGrowingInternalTextView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,13 @@ internal class NextGrowingInternalTextView: UITextView {
updatePlaceholder()
}
}

override var attributedText: NSAttributedString! {
didSet {
didChange()
updatePlaceholder()
}
}

var placeholderAttributedText: NSAttributedString? {
didSet {
Expand Down

0 comments on commit 5ab1820

Please sign in to comment.