Is not difficult to do so, with the provided classes you could:
return a different CGFloat inside tableView(_ tableView: , heightForRowAt indexPath:)func so that the UITableViewCells will have a different size, the UICollectionViewCell will adjust accordingly
Do exactly the same as above but also try to differentiate the various UICollectionViews by simply using the .tag property and then decide the size of the UICollectionViewCells inside collectionView(_ collectionView: , layout collectionViewLayout: , sizeForItemAt indexPath: )
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hello @thakurkrishna1991,
Is not difficult to do so, with the provided classes you could:
return
a differentCGFloat
insidetableView(_ tableView: , heightForRowAt indexPath:)
func
so that theUITableViewCell
s will have a different size, theUICollectionViewCell
will adjust accordinglyUICollectionView
s by simply using the.tag
property and then decide the size of theUICollectionViewCell
s insidecollectionView(_ collectionView: , layout collectionViewLayout: , sizeForItemAt indexPath: )