<commit_before>//
//  UIViewController.swift
//  DarkSwift
//
//  Created by <NAME> on 2017/8/18.
//  Copyright © 2017年 <NAME>. All rights reserved.
//

import UIKit

extension UIViewController {
    class func swizzleViewDidLoad() {
        let method = class_getInstanceMethod(self, #selector(viewDidLoad))
        let swizzledMethod = class_getInstanceMethod(self, #selector(swizzledViewDidLoad))
        method_exchangeImplementations(method, swizzledMethod)
    }
    
    func swizzledViewDidLoad() {
        swizzledViewDidLoad()
        
        if navigationItem.backBarButtonItem == nil {
            navigationItem.backBarButtonItem = UIBarButtonItem(title: "", style: .plain, target: nil, action: nil)
        }
    }
}
<commit_msg>Make UIViewController ext public<commit_after>//
//  UIViewController.swift
//  DarkSwift
//
//  Created by <NAME> on 2017/8/18.
//  Copyright © 2017年 <NAME>. All rights reserved.
//

import UIKit

public extension UIViewController {
    class func swizzleViewDidLoad() {
        let method = class_getInstanceMethod(self, #selector(viewDidLoad))
        let swizzledMethod = class_getInstanceMethod(self, #selector(swizzledViewDidLoad))
        method_exchangeImplementations(method, swizzledMethod)
    }
    
    func swizzledViewDidLoad() {
        swizzledViewDidLoad()
        
        if navigationItem.backBarButtonItem == nil {
            navigationItem.backBarButtonItem = UIBarButtonItem(title: "", style: .plain, target: nil, action: nil)
        }
    }
}

{'fraction_non_alphanumeric': 0.10039630118890357, 'fraction_numerical': 0.01453104359313078, 'mean_word_length': 3.0616621983914207, 'pattern_counts': {'":': 0, '<': 7, '<?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': '2257736', 'n_tokens_mistral': 467, 'n_tokens_neox': 441, 'n_words': 96}