Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

adding UITableView inside UITableViewCell

I am working on custom UITableViewCell where I want to add UITableView inside UITableViewCell so is there any controller available to do the same

This is the image of what I want to add in my project

enter image description here

This is expandable UITableView where after clicking first row inside table and buttons are expanded.

So if any similar controller is available please suggest me.

Thanks in advance.

like image 631
Pradumna Patil Avatar asked Jun 26 '15 05:06

Pradumna Patil


1 Answers

I'll advise against nesting table views. As a user, it's frustrating when one scrollable entity sits inside another scrollable entity. When you swipe, you're never quite sure how the content will behave. It can take several swipes to get from one end of the parent to the other. It matters how you time your swipes. It just sucks to use.

Try this approach of expanding a table view's sections Expand/collapse section in UITableView in iOS

Good luck!

like image 124
Neal Ehardt Avatar answered Nov 05 '22 08:11

Neal Ehardt