Is there any way to achieve a view like this in ios? There will be infinity scrolling in each row, how to achieve something like this? Is it using collectionview? and How can it be done? Any suggestion?
Asked
Active
Viewed 356 times
0
-
Table view and in every row of table view he is using collection view – Matloob Hasnain Mar 07 '17 at 07:44
-
You can use UICollectionView with Supplementary Views, Views having UICollectionView inside. – Himanshu Mar 07 '17 at 07:45
-
in here you need to use both – Anbu.Karthik Mar 07 '17 at 07:47
-
Is there any similar tutorial or github framework i can use for this? – bobo Mar 07 '17 at 07:49
-
please check option 3 of my answer below for github link – Arnab Mar 07 '17 at 09:17
-
must be collection view – Mehul Thakkar Mar 07 '17 at 12:29
2 Answers
1
You need to use table view and in every cell of table view you need to use a collection view please look on this Link and this Link as well

Matloob Hasnain
- 1,025
- 6
- 21
1
OPTION 1:
You can use one uicollectionview
for each sub-category that will scroll horizontally using UICollectionViewScrollDirectionHorizontal
.
Here is a link that may be useful.
OPTION 2:
You can use one single uitableview
for the whole page with header (section) saying the sub-category title and 'view all' button.
To scroll uitableview
horizontally please check these links:
Link 1 and Link 2.
OPTION 3:
You can try GitHub
example PTEHorizontalTableView. Use this tableview
with header.