<commit_before>//
//  PhotosPickerCollectionsController.swift
//  PhotosPicker
//
//  Created by Muukii on 3/23/15.
//  Copyright (c) 2015 muukii. All rights reserved.
//

import UIKit

public class PhotosPickerCollectionsController: UIViewController {

    public weak var tableView: UITableView?
    
    public override init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: NSBundle?) {
        
        super.init(nibName: nibNameOrNil, bundle: nibBundleOrNil)
        
        let tableView = UITableView()
        tableView.delegate = self
        tableView.dataSource = self
        
        self.view.addSubview(tableView)
        self.tableView = tableView
    }
    
    public convenience init() {
        
        self.init(nibName: nil, bundle: nil)
    }

    public required init(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    override public func viewDidLoad() {
        super.viewDidLoad()
<commit_msg>Add Autolayot<commit_after>//
//  PhotosPickerCollectionsController.swift
//  PhotosPicker
//
//  Created by Muukii on 3/23/15.
//  Copyright (c) 2015 muukii. All rights reserved.
//

import UIKit

public class PhotosPickerCollectionsController: UIViewController {

    public weak var tableView: UITableView?
    
    public override init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: NSBundle?) {
        
        super.init(nibName: nibNameOrNil, bundle: nibBundleOrNil)
        
        let tableView = UITableView()
        tableView.delegate = self
        tableView.dataSource = self
        tableView.setTranslatesAutoresizingMaskIntoConstraints(false)
        
        self.view.addSubview(tableView)
        self.tableView = tableView
        
        let tableViewTop = NSLayoutConstraint(
            item: tableView,
            attribute: .Top,
            relatedBy: .Equal,
            toItem: self.view,
            attribute: .Top,
            multiplier: 1,
            constant: 0)
        
        let tableViewRight = NSLayoutConstraint(
            item: tableView,
            attribute: .Right,
            relatedBy: .Equal,
            toItem: self.view,
            attribute: .Right,
            multiplier: 1,
            constant: 0)
        
        let tableViewBottom = NSLayoutConstraint(
            item: tableView,
            attribute: .Bottom,
            relatedBy: .Equal,
            toItem: self.view,
            attribute: .Bottom,
            multiplier: 1,
            constant: 0)
        
        let tableViewLeft = NSLayoutConstraint(
            item: tableView,
            attribute: .Left,
            relatedBy: .Equal,
            toItem: self.view,
            attribute: .Left,
            multiplier: 1,
            constant: 0)
        
        self.view.addConstraints([
            tableViewTop,
            tableViewRight,
            tableViewBottom,
            tableViewLeft,
            ])
    }
    
    public convenience init() {
        
        self.init(nibName: nil, bundle: nil)
    }

    public required init(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    override public func viewDidLoad() {
        super.viewDidLoad()

{'fraction_non_alphanumeric': 0.0810977489978415, 'fraction_numerical': 0.008017267961763799, 'mean_word_length': 1.828247602441151, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6200590', 'n_tokens_mistral': 927, 'n_tokens_neox': 876, 'n_words': 215}