chrismiles / EZForm

iOS form handling and validation library.
MIT License
284 stars 64 forks source link

What is the best practice of using EZForm with non-static table view cells? #50

Closed yakubbaev closed 9 years ago

yakubbaev commented 10 years ago

Problems I've encountered so far when using dequeueReusableCellWithIdentifier:forIndexPath::

petehare commented 10 years ago

@yakubbaev I'm encountering the same at the moment, how did you end up approaching this?

I've tried caching my own cells in an array and returning them instead of dequeuing, however it breaks when I try to reload a section, and the cell disappears still.

yakubbaev commented 10 years ago

@petehare I ended up using static table view cells :) It is possible in most cases, if you add UITableViewController subclass (with EZForm cells) as child view controller.