This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extension UITextView { | |
/** | |
Calculates if new textview height (based on content) is larger than a base height | |
- parameter baseHeight: The base or minimum height | |
- returns: The new height | |
*/ | |
func newHeight(withBaseHeight baseHeight: CGFloat) -> CGFloat { |