Hi All. I’m novice in swift. So I am asking for help. I write an application and I was faced with the problem.
I need to receive a different number of images in collectionView which is inside a tableView. For receive images I use url from firebase and to put the images in collectionViewl i use SDWebImage.
In tableView i use name and address. In collectionView which inside a tableView i use images for horizontal scrolling.
For example i want:
– First cell have one name, one address and have two images
– Second cell have one name, one address and have five images
– Third cell have one name, one address and have three images
And so on.
My source code on GitHub – https://github.com/denikaev/test2
My firebase looks like this:
And i want application looked like this:
I hope someone will help me.
Powered by WPeMatico