<commit_before>//
//  AppDelegate.swift
//  SwiftButtonsExample
//
//  Created by <NAME> on 3/14/15.
//  Copyright (c) 2015 <NAME>. All rights reserved.
//

import UIKit
import Motif

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    // MARK: AppDelegate: UIApplicationDelegate
    
    var window: UIWindow?
    
    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
        var error: NSError?
        let theme = MTFTheme(fromJSONThemeNamed: ThemeName, error: &error)
        assert(error == nil, "Error loading theme: \(error)")
        
        window = UIWindow(frame: UIScreen.mainScreen().bounds)
        window!.rootViewController = ViewController(theme: theme)
        window!.makeKeyAndVisible()
        
        return true
    }
}
<commit_msg>Fix swift example<commit_after>//
//  AppDelegate.swift
//  SwiftButtonsExample
//
//  Created by <NAME> on 3/14/15.
//  Copyright (c) 2015 <NAME>. All rights reserved.
//

import UIKit
import Motif

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    // MARK: AppDelegate: UIApplicationDelegate
    
    var window: UIWindow?
    
    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
        var error: NSError?
        let theme = MTFTheme(fromFileNamed: ThemeName, error: &error)
        assert(error == nil, "Error loading theme: \(error)")
        
        window = UIWindow(frame: UIScreen.mainScreen().bounds)
        window!.rootViewController = ViewController(theme: theme)
        window!.makeKeyAndVisible()
        
        return true
    }
}

{'fraction_non_alphanumeric': 0.10587550901687028, 'fraction_numerical': 0.010471204188481676, 'mean_word_length': 3.0093240093240095, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, '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': '3392002', 'n_tokens_mistral': 518, 'n_tokens_neox': 483, 'n_words': 126}