It seems that there is a bug with the last version (0.4.0) with the .generic type.
I have two texts inputs :
One simple / default which become the first responder in view did load.
A second of generic type with a date/time picker and a tool bar (I used the code provided in https://github.com/jobandtalent/AnimatedTextInput/issues/39).
Now if I click on the field, the date the picker is shaun as expected but the field isn't blue as it should.
Same thing if I force it to be the first responder It is blue but if I touch the first one, the blue tint does not disappear. This is doesn't append with other provided types.
Here is a small vc code which demonstrate the bug :
class NewEventController : UIViewController
{
@IBOutlet weak var titleTextInputView: AnimatedTextInput!
{
didSet
{
titleTextInputView.placeHolderText = "Title"
}
}
It seems that there is a bug with the last version (0.4.0) with the .generic type.
I have two texts inputs : One simple / default which become the first responder in view did load. A second of generic type with a date/time picker and a tool bar (I used the code provided in https://github.com/jobandtalent/AnimatedTextInput/issues/39).
Now if I click on the field, the date the picker is shaun as expected but the field isn't blue as it should. Same thing if I force it to be the first responder It is blue but if I touch the first one, the blue tint does not disappear. This is doesn't append with other provided types.
Here is a small vc code which demonstrate the bug :
class NewEventController : UIViewController { @IBOutlet weak var titleTextInputView: AnimatedTextInput! { didSet { titleTextInputView.placeHolderText = "Title" } }
}
class DateTextInput: UITextView, TextInput { var view: UIView { return self }
}