MoZhouqi / KMPlaceholderTextView

A UITextView subclass that adds support for multiline placeholder written in Swift.
MIT License
805 stars 141 forks source link

Fix no resizing text view based on placeholderLabel and swift5 support #58

Closed RogyMD closed 5 years ago

RogyMD commented 5 years ago

The issue is caused when the placeholderLabel size is bigger than text view's size, so that placeholderLabel is not display fully.

Fixed by adding one more constraint to the text view that doesn't allow the text view to have smaller height than placeholderLabel.

Added also swift5 support.