Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

UIDesign Advice

I want to achiece the following scenario,

image

My idea is to have three different tableview. But i have stuck up with the scrolling problem that if i scroll tableview3 vertically, tableview1 & tableview2 should also scroll.

Is there any other idea for implementing this? Or else a solution for my scrolling problem?

Note: The number of columns are dynamic.

Happy Coding

like image 655
KingofBliss Avatar asked Sep 16 '26 13:09

KingofBliss


1 Answers

I'm currently in the process of implementing a similar UI system, I gave up on using UITableView for it in order to make things a little more 'dynamic'. Re-implemnting all of UITableView from scratch is a really fun exercise!

If UITableView will still work for you, all you need to remember is tableview's are subclasses of UIScrollView, which has delegate methods for scrolling. Use those, along with setContentOffset and you can trivially sync the scrolling of multiple tables.

like image 145
Joshua Weinberg Avatar answered Sep 19 '26 09:09

Joshua Weinberg



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!