<commit_before>//
//  DetailViewController.swift
//  RandomColorSwift
//
//  Created by <NAME> on 2015/01/23.
//  Copyright (c) 2015年 OneV's Den. All rights reserved.
//

import UIKit
import JavaScriptCore

class DetailViewController: UIViewController {

    var color: UIColor?
    
    @IBOutlet weak var colorView: UIView!
    @IBOutlet weak var colorNameLabel: UILabel!
    @IBOutlet weak var colorHexLabel: UILabel!
    
    override func viewDidLoad() {
        super.viewDidLoad()
        
        colorView.layer.cornerRadius = 10;
        colorView.layer.masksToBounds = true;
        
        colorView.backgroundColor = color
        colorNameLabel.text = color?.name
        colorHexLabel.text = color?.hexString
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()<commit_msg>Clean import<commit_after>//
//  DetailViewController.swift
//  RandomColorSwift
//
//  Created by <NAME> on 2015/01/23.
//  Copyright (c) 2015年 OneV's Den. All rights reserved.
//

import UIKit

class DetailViewController: UIViewController {

    var color: UIColor?
    
    @IBOutlet weak var colorView: UIView!
    @IBOutlet weak var colorNameLabel: UILabel!
    @IBOutlet weak var colorHexLabel: UILabel!
    
    override func viewDidLoad() {
        super.viewDidLoad()
        
        colorView.layer.cornerRadius = 10;
        colorView.layer.masksToBounds = true;
        
        colorView.backgroundColor = color
        colorNameLabel.text = color?.name
        colorHexLabel.text = color?.hexString
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
{'fraction_non_alphanumeric': 0.08807339449541285, 'fraction_numerical': 0.01712538226299694, 'mean_word_length': 2.6517857142857144, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5425733', 'n_tokens_mistral': 520, 'n_tokens_neox': 473, 'n_words': 116}