<commit_before>//
//  ViewController.swift
//  OnboardingViewController
//
//  Created by <NAME> on 12/12/15.
//  Copyright © 2015 rumori. All rights reserved.
//

import UIKit

public class BoxViewController: UIViewController, OnboardingAnimatedContentViewController {

    @IBOutlet var imageView:UIImageView?
    @IBOutlet var titleLabel:UILabel?
    @IBOutlet var bodyLabel:UILabel?
    @IBOutlet var button:UIButton?
    @IBOutlet var imageViewHorizontalCenterConstraint:NSLayoutConstraint?
    
    var image:UIImage?
    var titleText:String?
    var bodyText:String?
    var buttonText:String? = "Next"
    var buttonHandler: ((BoxViewController) -> Void)?
    
    var currentVisibilityPercent:CGFloat = 0.0
    
    init(titleText:String?, bodyText:String? = nil, image:UIImage? = nil) {
        super.init(nibName: nil, bundle: nil)
        self.titleText = titleText
        self.bodyText = bodyText
        self.image = image
    }

    public required convenience init?(coder aDecoder: NSCoder) {
        self.init(titleText:nil)
    }<commit_msg>updated boxviewcontroller<commit_after>//
//  ViewController.swift
//  OnboardingViewController
//
//  Created by <NAME> on 12/12/15.
//  Copyright © 2015 rumori. All rights reserved.
//

import UIKit

public class BoxViewController: UIViewController, OnboardingContentViewController {

    @IBOutlet var imageView:UIImageView?
    @IBOutlet var titleLabel:UILabel?
    @IBOutlet var bodyLabel:UILabel?
    @IBOutlet var button:UIButton?
    @IBOutlet var imageViewHorizontalCenterConstraint:NSLayoutConstraint?
    
    var image:UIImage?
    var titleText:String?
    var bodyText:String?
    var buttonText:String? = "Next"
    var buttonHandler: ((BoxViewController) -> Void)?
    
    var currentVisibilityPercent:CGFloat = 0.0
    
    init(titleText:String?, bodyText:String? = nil, image:UIImage? = nil) {
        super.init(nibName: nil, bundle: nil)
        self.titleText = titleText
        self.bodyText = bodyText
        self.image = image
    }

    public required convenience init?(coder aDecoder: NSCoder) {
        self.init(titleText:nil)
    }
{'fraction_non_alphanumeric': 0.09595484477892756, 'fraction_numerical': 0.011288805268109126, 'mean_word_length': 3.3586065573770494, 'pattern_counts': {'":': 0, '<': 5, '<?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': '1565269', 'n_tokens_mistral': 674, 'n_tokens_neox': 634, 'n_words': 151}