vladinecko / accordion-uitableview

Demonstrates how to create a UITableView that can expand and collapse its rows, à la accordion.
17 stars 3 forks source link

accordion indefinitely.... #1

Open ciumexan opened 11 years ago

ciumexan commented 11 years ago

Is it possible to accordion to many levels (indefinite)? I am trying to modify your version to make children rows to support other children and so on... but struggle...

vladinecko commented 11 years ago

it's very much possible. it would get tricky to figure out all the proper offsets for expanding and collapsing but it would just be a matter of finding a formula for it. the rest should be quite straight-forward.

if you tackle it, it'd be great if you to enhanced this code to include that functionality ;)