// // CollectionView.swift // WearPro // // Created by Mac on 2021/3/12. // Copyright © 2021 Sheldon. All rights reserved. // import UIKit class CollectionView: UICollectionView { override init(frame: CGRect, collectionViewLayout layout: UICollectionViewLayout) { super.init(frame: frame, collectionViewLayout: layout) makeUI() } required init?(coder: NSCoder) { super.init(coder: coder) makeUI() } func makeUI() { showsVerticalScrollIndicator = false showsHorizontalScrollIndicator = false } }