<commit_before>//
//  ShortcutBarButton.swift
//  TastyTomato
//
//  Created by <NAME> on 9/1/16.
//  Copyright © 2016 resmio. All rights reserved.
//

import UIKit


// MARK: // Public
// MARK: Fake Initializer
public func ShortcutBarButton_() -> ShortcutBarButton {
    return ShortcutBarButton.button_()
}


// MARK: Class Declaration
public class ShortcutBarButton: BaseButton {
    // Setup Override
    override class func setup_<T: ShortcutBarButton>(_ button: T) {
        super.setup_(button)
        
        button.setColor(.gray999999, for: UIControlState())
        button.setTitleColor(.white, for: UIControlState())
        
        button.setColor(.white, for: .highlighted)
        button.setTitleColor(.black, for: .highlighted)
        
        button.setColor(.white, for: .selected)
        button.setTitleColor(.black, for: .selected)
        
        button.titleLabel!.font = UIFont.systemFont(ofSize: 17)
    }
}
<commit_msg>Refactor ShortcutBarButton<commit_after>//
//  ShortcutBarButton.swift
//  TastyTomato
//
//  Created by <NAME> on 9/1/16.
//  Copyright © 2016 resmio. All rights reserved.
//

import UIKit


// MARK: // Public
// MARK: Class Declaration
public class ShortcutBarButton: BaseButton {
    // Setup Override
    public override func setup() {
        self._setup()
    }
}


// MARK: // Private
// MARK: Setup Override Implementation
private extension ShortcutBarButton {
    func _setup() {
        super.setup()
        
        self.setColor(.gray999999, for: .normal)
        self.setTitleColor(.white, for: .normal)
        
        self.setColor(.white, for: .highlighted)
        self.setTitleColor(.black, for: .highlighted)
        
        self.setColor(.white, for: .selected)
        self.setTitleColor(.black, for: .selected)
        
        self.titleLabel!.font = UIFont.systemFont(ofSize: 17)
    }
}

{'fraction_non_alphanumeric': 0.12171581769436997, 'fraction_numerical': 0.017158176943699734, 'mean_word_length': 2.4175824175824174, 'pattern_counts': {'":': 0, '<': 6, '<?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': '827198', 'n_tokens_mistral': 625, 'n_tokens_neox': 568, 'n_words': 133}