Created
May 12, 2018 10:41
-
-
Save sunnyleeyun/dabb3e08d3fb2339c7846f50dfa689da to your computer and use it in GitHub Desktop.
This file contains hidden or 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
class UITextViewPadding : UITextView { | |
required init?(coder aDecoder: NSCoder) { | |
super.init(coder: aDecoder) | |
textContainerInset = UIEdgeInsets(top: 8, left: 4, bottom: 8, right: 4) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment