 class ThreeDaysForecastView: UIView {
     
     var collectionView: UICollectionView!
+    var darkStyle = false
+    
     var forecastDays: [ForecastDay]! = [] {
         didSet {
             collectionView.reloadData()

        collectionView.register(ForecastCell.self, forCellWithReuseIdentifier: "forecast")
        self.addSubview(collectionView)
       
    }
    
    override func layoutSubviews() {

        fatalError("init(coder:) has not been implemented")
    }
    
    
    func changeTheme() {
        self.collectionView.backgroundColor = UIColor.black
        self.darkStyle = true
        self.collectionView.reloadData()
    }
}

extension ThreeDaysForecastView : UICollectionViewDataSource {
