AliSoftware/Reusable

Any Subspec supporting RxSwift?

guzhenhuaGitHub opened this issue · 5 comments

Hope Reusable to be better

We don't have an Rx subspec yet but I'd love to. Don't hesitate to propose a PR 😉

I'm a user of RxSwift but never used it with tableviews (i.e. never used RxDataSource in my projects so far) so I'm not sure how Rx applied to Reusable would look like. Would be curious to see a solution 👍

@AliSoftware New to RxSwift, but most demo projects are massive used of RxDataSource .Could you tell us why don't you use RxDataSource in projects ?

Nothing wrong with using RxDataSources. But it's just a matter of preferences and the type of projets I've been working on lately. I simply prefer using the Adapter pattern on TableViews, extracting my UITableViewDataSource & UITableViewDelegate implementations away in dedicated objects and being able to compose them (works especially best with TableViews whose section have different type of contents).

That said, that's not because I don't use RxDataSources personally that it's wrong per se, and there are plenty of people who love RxDataSources, so that would still be great to have a dedicated subspec for it in Reusable 😉

Hi, you can try this https://github.com/pikciu/RxCells
ofc it depends on Reusable ;)

Thank you~