Standard component to implement accordion view of a structured data?

Is there a standard way to implement a collapsible accordion view?

[Label Level1]
[Labe Level2] (tapped)
item1 on level2
item2 on level2
[Label Level3]
[Label level4]

Hi @wieringa

Unfortunately, there is no a build-in solution in the standard UITableView/UICollectionView.
You could implement this feature yourself or you could use a 3d-party solutions. Here are some of them: https://github.com/fuzz-productions/FZAccordionTableView, https://github.com/Vkt0r/AccordionMenuSwift, https://github.com/justinmfischer/SwiftyAccordionCells.

Hope this helps.

Nikita