部分文字列と範囲を使用せずにこれを行う簡単な方法があるかどうか疑問に思っています。基本的に、UILabel に価格を入力したいと考えています。
例:
When the user types, I want to input the price, obviously thats needs to go right to left, and once I get to dollars - append on as much as needed. I looked at this answer but didn't get anywhere with it. It's a little tricky because the dollar sign and decimal points are part of the UILabel, and right now I am just setting that text of the UILabel = textfield.text. Any ideas appreciated.