         var green : CGFloat = 100
 
         
-        for i in 0...times {
+        for _ in 0...times {
             red = CGFloat(arc4random_uniform(254)+1)
             green = CGFloat(arc4random_uniform(254)+1)
             blue = CGFloat(arc4random_uniform(254)+1)

//

import UIKit

class ProductViewController: UICollectionViewController, UICollectionViewDelegateFlowLayout {
    
    var productPhotos : [UIImage?] = [UIImage]()

        collectionView?.isPagingEnabled = true
        collectionView?.anchor(top: view.topAnchor, left: view.leftAnchor, botton: nil, right: view.rightAnchor, paddingTop: 0, paddingLeft: 0, paddingBottom: 0, paddingRight: 0, width: 0, height: self.screenWidth)
        
        let randomNumber = Int(arc4random_uniform(30))
        
        self.randomColorArray(times: randomNumber)
    }
    
    func randomColorArray(times: Int){
