<commit_before>//
//  BaseLabel.swift
//  DCKit
//
//  Created by <NAME> on 28/01/15.
//  Copyright (c) 2015 <NAME> (<EMAIL>). All rights reserved.
//

import UIKit

public class DCBaseLabel: UILabel {
    
    // MARK: - Initializers
    
    // IBDesignables require both of these inits, otherwise we'll get an error: IBDesignable View Rendering times out.
    // http://stackoverflow.com/questions/26772729/ibdesignable-view-rendering-times-out
    
    override public init(frame: CGRect) {
        super.init(frame: frame)
    }
    
    required public init(coder aDecoder: NSCoder) {
        super.init(coder: aDecoder)
    }
    
    // MARK: - Build control
    
    /// Overriden method must call super.customInit().
    public func customInit() {
        configureFont()
        configureColor()
    }
    
    public func configureFont() {
    }
    <commit_msg>Added PostViewController.<commit_after>//
//  BaseLabel.swift
//  DCKit
//
//  Created by <NAME> on 28/01/15.
//  Copyright (c) 2015 <NAME> (<EMAIL>). All rights reserved.
//

import UIKit

public class DCBaseLabel: UILabel {
    
    // MARK: - Initializers
    
    // IBDesignables require both of these inits, otherwise we'll get an error: IBDesignable View Rendering times out.
    // http://stackoverflow.com/questions/26772729/ibdesignable-view-rendering-times-out
    
    override public init(frame: CGRect) {
        super.init(frame: frame)
        
        customInit()
    }
    
    required public init(coder aDecoder: NSCoder) {
        super.init(coder: aDecoder)
        
        customInit()
    }
    
    // MARK: - Build control
    
    /// Overriden method must call super.customInit().
    public func customInit() {
        configureFont()
        configureColor()
    }
    
    public func configureFont() {
    }
    
{'fraction_non_alphanumeric': 0.11153846153846154, 'fraction_numerical': 0.01978021978021978, 'mean_word_length': 2.1559792027729636, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '6418539', 'n_tokens_mistral': 602, 'n_tokens_neox': 554, 'n_words': 143}