<commit_before>//
//  ViewController.swift
//  CarouselApp
//
//  Created by <NAME> on 21/07/17.
//  Copyright © 2017 <NAME>. All rights reserved.
//

import UIKit

class ProductViewController: UICollectionViewController, UICollectionViewDelegateFlowLayout {
    
    var productPhotos : [UIImage?] = [UIImage]()
    var productFakeColors : [UIColor?] = [UIColor]()
    let screenWidth = UIScreen.main.bounds.size.width
    let cellId = "cellId"
    
     

    override func viewDidLoad() {
        super.viewDidLoad()
        self.view.backgroundColor = .white
        collectionView?.register(UICollectionViewCell.self, forCellWithReuseIdentifier: cellId)
        collectionView?.backgroundColor = .white
        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)
        
        self.randomColorArray(times: 3)

        
    }
    
    func randomColorArray(times: Int){
        var red : CGFloat = 100
        var blue : CGFloat = 100
        var green : CGFloat = 100
<commit_msg>Adding more pages to the collectionView<commit_after>//
//  ViewController.swift
//  CarouselApp
//
//  Created by <NAME> on 21/07/17.
//  Copyright © 2017 <NAME>. All rights reserved.
//

import UIKit

class ProductViewController: UICollectionViewController, UICollectionViewDelegateFlowLayout {
    
    var productPhotos : [UIImage?] = [UIImage]()
    var productFakeColors : [UIColor?] = [UIColor]()
    let screenWidth = UIScreen.main.bounds.size.width
    let cellId = "cellId"
    
     

    override func viewDidLoad() {
        super.viewDidLoad()
        self.view.backgroundColor = .white
        collectionView?.register(UICollectionViewCell.self, forCellWithReuseIdentifier: cellId)
        collectionView?.backgroundColor = .white
        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)
        
        self.randomColorArray(times: 10)

        
    }
    
    func randomColorArray(times: Int){
        var red : CGFloat = 100
        var blue : CGFloat = 100
        var green : CGFloat = 100

{'fraction_non_alphanumeric': 0.10220191109264645, 'fraction_numerical': 0.0211882010801828, 'mean_word_length': 2.934640522875817, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5101773', 'n_tokens_mistral': 755, 'n_tokens_neox': 704, 'n_words': 175}