I’m trying to define a placeholder for UITextView, but unfortunately unlike UITextField it doesn’t have that attribute. In order to speed up my development process I’ve made some search and found a library (https://github.com/MoZhouqi/KMPlaceholderTextView) that solves that problem.
My problem starts with the implementation of methods/funcionalities of another library (https://github.com/SwiftValidatorCommunity/SwiftValidator) which is used for fields validation. Since I’m using a UITextView subclass the validator doesn’t recognize it as a validatable field and requires it to be cast as a validatable field. But once I cast it, the app crashes when trying to validate the KM TextView.
My question is, is there any way to make the 2 libraries interact and make them compatible with each other? If so, how can I make this?