Commit 6d1cff5d by Daniel Dahan

Merge pull request #234 from brandonroth/development

Fix bug where changes to the placeholderLabel are not propigated to t…
parents 75665e13 fdf8c935
......@@ -560,9 +560,7 @@ public class TextView: UITextView {
if let v: UILabel = titleLabel {
if v.hidden {
if let s: String = placeholderLabel?.text {
if 0 == v.text?.utf16.count || nil == v.text {
v.text = s
}
v.text = s
}
let h: CGFloat = ceil(v.font.lineHeight)
v.frame = CGRectMake(0, -h, bounds.width, h)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment