<commit_before>//
//  BlurViewController.swift
//  Pippin
//
//  Created by <NAME> on 4/25/16.
//  Copyright © 2016 Two Ring Software. All rights reserved.
//

import UIKit

public final class BlurViewController: UIViewController {

    public required init?(coder aDecoder: NSCoder) {
        super.init(coder: aDecoder)
    }

    public required init(viewController: UIViewController) {
        super.init(nibName: nil, bundle: nil)

        addNewChildViewController(newChildViewController: viewController)

        let blurEffect = UIBlurEffect(style: .light)<commit_msg>parameterize blur style in BlurViewController<commit_after>//
//  BlurViewController.swift
//  Pippin
//
//  Created by <NAME> on 4/25/16.
//  Copyright © 2016 Two Ring Software. All rights reserved.
//

import UIKit

/// A `UIViewController` subclass that displays a child view controller with an active blur background.
public final class BlurViewController: UIViewController {

    public required init?(coder aDecoder: NSCoder) {
        super.init(coder: aDecoder)
    }

    /// Instantiate a new `BlurViewController` with a child view controller and a blur style.
    ///
    /// - Parameters:
    ///   - viewController: the view controller to show with a blur.
    ///   - blurStyle: the type of blur to use.
    ///
    /// - Note: `viewController`'s subviews must have transparent background.
    public required init(viewController: UIViewController, blurStyle: UIBlurEffectStyle = .light) {
        super.init(nibName: nil, bundle: nil)

        addNewChildViewController(newChildViewController: viewController)

        let blurEffect = UIBlurEffect(style: blurStyle)
{'fraction_non_alphanumeric': 0.09595654797827399, 'fraction_numerical': 0.010863005431502716, 'mean_word_length': 3.134663341645885, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1567174', 'n_tokens_mistral': 492, 'n_tokens_neox': 454, 'n_words': 147}