I want the currency abbreviation uilabel closely follow text being input into UITextField. What's a good way to calculate where did the text being input ended so that
func rightViewRect(forBounds bounds: CGRect) -> CGRect
can calculate the label rect properly?
Among other things I've ended up with this helper: