-3

I am trying to create a similar collection view as ![this][1]

[1]: https://i.stack.imgur.com/Wwqas.png image in tableview but i have no clue how to do it. My data is coming from server using web service.

How to achieve this ?

Mannopson
  • 2,634
  • 1
  • 16
  • 32
  • 1
    For that you can add `UICollectionView` inside `UITableViewCell`. – Nirav D Feb 17 '17 at 10:46
  • see this https://contentpedlar.wordpress.com/2016/10/22/uicollectionview-in-uitableview/ and https://ashfurrow.com/blog/putting-a-uicollectionview-in-a-uitableviewcell-in-swift/ – Anbu.Karthik Feb 17 '17 at 10:54

2 Answers2

1

This is seems like UICollectionView inside UITableViewCell for independent scrolling

Please go through below link for more detail...

Click here

Prema Janoti
  • 836
  • 5
  • 18
0

You will have to use UICollectionView inside your custom UITableViewCell.

The flow should be like this:

UITableViewCell --> UICollectionView --> UICollectionViewCell

enter image description here

Vishal Sonawane
  • 2,637
  • 2
  • 16
  • 21