ra1028 / Carbon

đźš´ A declarative library for building component-based user interfaces in UITableView and UICollectionView.

Home Page:https://ra1028.github.io/Carbon

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[SUGESTION] Add demo with custom cell classes

andrefmsilva opened this issue · comments

I think a demo with custom cell classes will help some users.
For example the demo can integrate https://github.com/SwipeCellKit/SwipeCellKit for the cells

@Zasuk
Currently not supports custom cell class which not inherited from UITableViewComponentCell or UICollectionViewComponentCell.
I'll probably support it in the future, but haven't yet considered the best API design.

I’ll second this. Would like to see the possibility to create a cell node from (custom) UITableViewCell or UICollectionViewCell.

Ok, I'll support it in the future.
I'm still thinking about a better API design for it.

@Zasuk @wousser
I'm trying to add ability to use custom cell subclass for the container of component.
Draft: #21

Hi, i haven't tested it yet but the implementation looks ok for me (i was thinking in the same solution).
Thanks for the hard work and awesome lib