I`m using AsyncDisplayKit for dev my ios app and using ASTableNode. What is best way for add spacing between ASCellNode in ASTableNode ? I want to make it look something like this:
My ideas on how to do this:
- set the frame size of ASCellNode? Minus ideas: how to be if height of cell different?
- add a subNode and set its size smaller, given the indentation? Minus ideas: extra element
- add header like in UITableView, but how add left and right margin ?
Can eat other decision? Is there a way using AsyncDisplayKit?
And another related question, is it possible to add a shadow between the cells, as in the picture?