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.

53 lines
1016 B

//
// CollectionViewCell.swift
// FireBoltt
//
// Created by Sheldon on 2021/9/19.
// Copyright © 2021 Sheldon. All rights reserved.
//
import UIKit
class CollectionViewCell: UICollectionViewCell {
var cellDisposeBag = DisposeBag()
lazy var containerView: UIView = {
let view = UIView()
view.backgroundColor = .clear
addSubview(view)
view.snp.makeConstraints({ (make) in
make.edges.equalToSuperview()
})
return view
}()
override init(frame: CGRect) {
super.init(frame: frame)
setUpUI()
layoutUI()
}
required init?(coder: NSCoder) {
super.init(coder: coder)
setUpUI()
layoutUI()
}
func setUpUI() {
backgroundColor = .clear
}
func layoutUI() {}
func bind(model: ViewModel) {
}
override func prepareForReuse() {
super.prepareForReuse()
cellDisposeBag = DisposeBag()
}
}