Have any of you ever tried using a UITextView in stead of UITextField to do what UITextField does and does not do? I think it would make coding easier to since the two classes are similar but has to be treated a little differently by the code.
Is it effective to use UITextView as a UITextField?
There are things specific to TextFields (like secure entry). And limits in editiing capabilities. But TextViews are more complex to access the text content (which is why I try to avoid…).
This is interesting: https://useyourloaf.com/blog/text-label-vs-text-field-vs-text-view/
as well as WWDC: WWDC 2018 Session 221 TextKit Best Practises
So IMHO, it is interesting to use each class for what the do best.
But if you feel more comfortable using only TextViews, just do it.