SlackTextViewController
SlackTextViewController copied to clipboard
How can I use a custom textContainer in SLKTextViewController
I have a custom NSTextStorage so that I must use a textContainer to init the textView, but I don't know how to do this.
You can subclass SLKTextView and initialize it with your text storage/manager/container, internally.
You can then register this custom textView when configurating your SLKTextViewController subclass using the registerClassForTextView: method.
There is an example of this on the sample project.