Open mbcoder17 opened 9 years ago
The thing is that JLTextView
needs to call super.init(frame: frame, textContainer: textContainer)
. Not sure how to achieve that.
super.init(frame: frame, textContainer: textContainer)
from init(coder)
The one thing JLTextViewController
does, except for being a ViewController, is setting scrollView insets on keyboard size updates. Not sure how that will work if the JLTextView
is not at the bottom.
So I'd just:
JLTextViewController
, create JLTextView
programatically. Copy and adjust content inset resizing code.Thanks! I was able to get around all of that by using JLTextViewController in my storyboard, then having another VC with a container view.
I am having an issue using storyboards with this library. I set the class of one of my VC's to JLTextViewController, but I have 2 separate views in my VC and I want to assign the textview to one of them. When I try to do this the view just loads with a black background without the textview. I think it has to do with the initializers in JLTextView but I am not sure how to fix it.