Please could someone explain to me the difference between ListStackedSectionController and ListBindingSectionController and when you would choose one over the other? I've been looking at the documentation and it's a bit ambiguous to me?
Thanks!
any update on this? great library @rnystrom and team! I'm building a highly nested collection view myself and I am running into this design decision myself. I've run into some problems trying to nest ListStackedSectionControllers within ListStackedSectionControllers, and it looks like ListBindingSectionController is the more appropriate way to go after reading #872 .
My question now is, in what scenario is ListStackedSectionController more ideal? Am I thinking about this the right way?
IGListStackedSectionController is a way to build SCs with _child_ SCs. That lets you decompose your controller logic even further into tiny units.
IGListBindingSectionController allows you to model your cells, the number of them _and_ their configuration, with view models. These view models are also diffed, provided cell-level insert/delete/update/move animations! It's my favorite component of this library.
Bear in mind that stacked section controllers are going to be deprecated in 4.0.0. See #1099.
Thanks for the clarification @rnystrom!
Most helpful comment
IGListStackedSectionControlleris a way to build SCs with _child_ SCs. That lets you decompose your controller logic even further into tiny units.IGListBindingSectionControllerallows you to model your cells, the number of them _and_ their configuration, with view models. These view models are also diffed, provided cell-level insert/delete/update/move animations! It's my favorite component of this library.Bear in mind that stacked section controllers are going to be deprecated in 4.0.0. See #1099.