<commit_before>public class LoadingContainerPlugin: UIContainerPlugin {
    
    private var spinningWheel: UIActivityIndicatorView
    
    public init() {
        spinningWheel = UIActivityIndicatorView(activityIndicatorStyle: .WhiteLarge)
        spinningWheel.startAnimating()
        super.init(frame: CGRectZero)
        addSubview(spinningWheel)
        userInteractionEnabled = false
    }
    
    required public init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    override public func wasInstalled() {
        super.wasInstalled()
        addCenteringConstraints()
        bindEventListeners()
    }
    
    private func addCenteringConstraints() {
        translatesAutoresizingMaskIntoConstraints = false
        
        let widthConstraint = NSLayoutConstraint(item: self, attribute: .Width, relatedBy: .Equal,
            toItem: nil, attribute: .NotAnAttribute, multiplier: 1, constant: spinningWheel.frame.width)<commit_msg>LoadingPlugin: Start it without animation<commit_after>public class LoadingContainerPlugin: UIContainerPlugin {
    
    private var spinningWheel: UIActivityIndicatorView
    
    public init() {
        spinningWheel = UIActivityIndicatorView(activityIndicatorStyle: .WhiteLarge)
        super.init(frame: CGRectZero)
        addSubview(spinningWheel)
        userInteractionEnabled = false
    }
    
    required public init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    override public func wasInstalled() {
        super.wasInstalled()
        addCenteringConstraints()
        bindEventListeners()
    }
    
    private func addCenteringConstraints() {
        translatesAutoresizingMaskIntoConstraints = false
        
        let widthConstraint = NSLayoutConstraint(item: self, attribute: .Width, relatedBy: .Equal,
            toItem: nil, attribute: .NotAnAttribute, multiplier: 1, constant: spinningWheel.frame.width)
{'fraction_non_alphanumeric': 0.07347760442878712, 'fraction_numerical': 0.0010065425264217413, 'mean_word_length': 3.133056133056133, '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': '5904509', 'n_tokens_mistral': 515, 'n_tokens_neox': 528, 'n_words': 116}