给每组的头部返回指定类型视图
1.设置组头的大小
layout.headerReferenceSize = CGSize(width: 375, height: 160)
2.注册:
返回的是 UICollectionReusableView
collectionView.register(UICollectionReusableView.self, forSupplementaryViewOfKind: UICollectionElementKindSectionHeader, withReuseIdentifier: "kHeaderViewID")
返回的是xib
collectionView.register(