Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

General question about dynamic tableview content #98

Open
randomiser opened this issue Mar 1, 2019 · 1 comment
Open

General question about dynamic tableview content #98

randomiser opened this issue Mar 1, 2019 · 1 comment

Comments

@randomiser
Copy link

HI there,

Thanks for making ReactorKit. I'm impressed with what I've seen and used so far.

I'm attempting to use ReactorKit to solve a particular issue I have but can't seem to find any good examples of how to solve this kind of problem. (Note: This example isn't exactly what I need but serves as to illustrate the kind of problem.)

I need to create a data entry form that supports the ability to add ad-hoc fields dynamically at runtime. I'm using a UITableView and a collection of custom UITableViewCells. These cells include a textfield, textview, switch, and so on to support the different kinds of data entry fields.

At runtime the user can click an add button and select to add say an address, name, cell phone number etc.

Supposing the user selected to add an address, the UI would update to show six UITableViewCells each containing a UITextField. One for address line 1, address line 2, suburb, city, postcode, and country. Each of these values would need to be bound to the backend without the entire tableview being refreshed for each key press made.

Do you have any suggestions as to how I can achieve this behaviour with ReactorKit?

Thanks in advance,
Matt

@anirudhamahale
Copy link

I also have similar question #158

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants