T_C
T_C

Reputation: 3168

iOS-Swift: Possible ways to design horizontal paging with tableview inside each page?

Whats is the best way to design (and also possible ways) horizontal paging with tableview inside each page? Slide in Slide out animation would be perfect. Basically something like this but using newer UI views like collectionview

Update: What I am trying to do it just break up a table with lets say 12 items into three pages with 4 items each.

So the question is UIPageViewController VS UIScrollView VS UICollectionView

Upvotes: 0

Views: 1413

Answers (2)

matt
matt

Reputation: 535306

I would use a UIPageViewController. It's built-in and is perfect for horizontal scrolling (sliding) between view controllers.

Upvotes: 2

George
George

Reputation: 668

You can consider using a UIPageView then build your collection views on each page. Here's an example cocoapod that sounds like what you are describing:

https://github.com/lxian/LXPageViewWithButtonsViewController

Upvotes: 1

Related Questions