ra1028 / Former

Former is a fully customizable Swift library for easy creating UITableView based form.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mutable value in onTextChanged

marcheimendinger opened this issue · comments

I wanted to know if there was any possibility to use the value inside the onTextChanged handler as a variable ?

For example I want to automatically add a point after the user entered a specific character.

I cannot figure out any way of doing this with Former… but maybe someone has an idea ?

Ok this was pretty obvious…

Simply setup an addTarget action for .editingChanged in TextFieldRowFormer<FormTextFieldCell>() configuration handler.