You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
599 B
30 lines
599 B
1 year ago
|
//
|
||
|
// 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
|
||
|
}
|
||
|
|
||
|
}
|