Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cell.feesField.tag = indexPath.row
- cell.feesField.addTarget(self, action: #selector(textFieldChanged(field:)), for: .editingChanged)
- @objc func textFieldChanged(field: UITextField) {
- feesArray[field.tag] = field.text ?? ""
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement