<commit_before>//
// Autogenerated by gaxb at 10:39:28 AM on 12/12/14
//

import UIKit

public class View: ViewBase {
    var view = UIView()
    
    override func gaxbValueDidChange(name: String) {
        switch name {
        case "frame":
            view.frame = frame!
        case "color":
            if let newColor = color {
                view.backgroundColor = newColor
            }
        case "alpha":
            view.alpha = CGFloat(alpha!)
        case "clipsToBounds":
            if clipsToBounds != nil {
                view.clipsToBounds = clipsToBounds!
            }
        case "hidden":
            if hidden != nil {
                view.hidden = hidden!
            }
        case "tag":
            if tag != nil {
                view.tag = tag!
            }
        default:
            break
        }
    }
    
    public func loadInto(parentView: UIView) {
        for child in views {
            child.loadInto(view)
        }
        parentView.addSubview(view)
    }
    
}<commit_msg>Small adjustments to View attribute handling<commit_after>//
// Autogenerated by gaxb at 10:39:28 AM on 12/12/14
//

import UIKit

public class View: ViewBase {
    var view = UIView()
    
    override func gaxbValueDidChange(name: String) {
        switch name {
        case "frame":
            view.frame = frame!
        case "color":
            view.backgroundColor = color
        case "alpha":
            view.alpha = CGFloat(alpha!)
        case "clipsToBounds":
            if clipsToBounds != nil {
                view.clipsToBounds = clipsToBounds!
            }
        case "hidden":
            if hidden != nil {
                view.hidden = hidden!
            }
        case "tag":
            if tag != nil {
                view.tag = tag!
            }
        default:
            break
        }
    }
    
    public func loadInto(parentView: UIView) {
        for child in views {
            child.loadInto(view)
        }
        parentView.addSubview(view)
    }
    
}
{'fraction_non_alphanumeric': 0.0890748031496063, 'fraction_numerical': 0.011811023622047244, 'mean_word_length': 1.281705948372615, 'pattern_counts': {'":': 12, '<': 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': '6232522', 'n_tokens_mistral': 593, 'n_tokens_neox': 561, 'n_words': 147}