我想在我的 tableview 中为 collectionView 创建部分, 以水平滚动显示单元格 collectionView 的一部分
let width = UIScreen.main.bounds.width
layout.itemSize = CGSize(width: width - 24 , height: HomeBundleTableViewCell.itemHeight )
layout.sectionInset = UIEdgeInsets(top: 0, left: 12, bottom: 0, right: 0)
layout.minimumInteritemSpacing = 0
layout.minimumLineSpacing = 0
layout.scrollDirection = .horizontal