vds_ios/VDS/Components/Calendar/CalendarDateCollectionViewCell.swift

55 lines
1.7 KiB
Swift

//
// CalendarDateCollectionViewCell.swift
// VDS
//
// Created by Kanamarlapudi, Vasavi on 24/04/24.
//
import Foundation
import UIKit
import VDSTokens
///This is customised view for Calendar cell item
final class CalendarDateCollectionViewCell: UICollectionViewCell {
///Identifier for the Calendar Date Cell
static let identifier: String = String(describing: CalendarDateCollectionViewCell.self)
//--------------------------------------------------
// MARK: - Private Properties
//--------------------------------------------------
// internal var stackView: UIStackView = {
// return UIStackView().with {
// $0.translatesAutoresizingMaskIntoConstraints = false
// $0.axis = .horizontal
// $0.distribution = .fill
// $0.alignment = .center
// $0.spacing = VDSLayout.space2X
// $0.setContentCompressionResistancePriority(.defaultHigh, for: .horizontal)
// $0.setContentHuggingPriority(.defaultHigh, for: .horizontal)
// }
// }()
//
// private lazy var selectionBackgroundView = View().with {
// $0.translatesAutoresizingMaskIntoConstraints = false
// $0.clipsToBounds = true
// $0.backgroundColor = .systemRed
// }
//
// private lazy var numberLabel = Label().with {
// $0.translatesAutoresizingMaskIntoConstraints = false
// $0.textAlignment = .center
// // $0.font
// // $0.textColor
// }
override init(frame:CGRect) {
super.init(frame: frame)
contentView.backgroundColor = .link
}
required init?(coder: NSCoder) {
fatalError("init(coder:) has not been implemented")
}
}