<commit_before>/*
 This file is subject to the terms and conditions defined in
 file 'LICENSE', which is part of this source code package.
 */

import UIKit
import Cartography

public protocol UINibViewInflatable: class { }

public extension UINibViewInflatable {

    @warn_unused_result
    public func inflateView() -> UIView {
        return UINib(nibName: String(Self.self), bundle: NSBundle(forClass: Self.self)).instantiateWithOwner(self, options: nil).first as! UIView
    }
}

public extension UINibViewInflatable where Self: UIView {

    public func inflateAddAndConstrainView() -> (UIView, ConstraintGroup) {
        let view = self.inflateView()
        return (view, self.addAndConstrainView(view))
    }
}
<commit_msg>eeeeee<commit_after>/*
 This file is subject to the terms and conditions defined in
 file 'LICENSE', which is part of this source code package.
 */

import UIKit
import Cartography

public protocol UINibViewInflatable: class { }

public extension UINibViewInflatable {

    @warn_unused_result
    public func inflateView() -> UIView {
        return UINib(nibName: String(Self.self), bundle: Bundle(for: Self.self)).instantiate(withOwner: self, options: nil).first as! UIView
    }
}

public extension UINibViewInflatable where Self: UIView {

    public func inflateAddAndConstrainView() -> (UIView, ConstraintGroup) {
        let view = self.inflateView()
        return (view, self.addAndConstrainView(view))
    }
}

{'fraction_non_alphanumeric': 0.08872077028885832, 'fraction_numerical': 0.0, 'mean_word_length': 4.052083333333333, 'pattern_counts': {'":': 0, '<': 3, '<?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': '3066049', 'n_tokens_mistral': 443, 'n_tokens_neox': 426, 'n_words': 131}