Open
Description
What happened?
I created an AttachmentManager
below and passed it my InputTextView
.
let inputBar = MessageInputBar()
let manager = AttachmentManager(for: inputBar.inputTextView)
However, the property textView
of AttachmentManager
of is typed as UITextView
. So the library's internals doesn't know any of the overriden methods of UITextView
in the InputTextView
class. This causes things like my placeholder text to never clear.
What did I expect to happen?
I expected that AttachmentManager
respects the changes inInputTextView
Blame is #8 (review)
Swift version: 4.0
MessageInputBar version: 0.2.2
Xcode version: 9.4
Installation Method: Carthage