<commit_before>//
//  AppDelegate.swift
//  Demo
//
//  Created by <NAME> on 30.01.2016.
//  Copyright © 2016 Wonderkiln. All rights reserved.
//

import UIKit
import WKAwesomeMenu

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
    
    var window: UIWindow?
    
    var awesomeMenu: WKAwesomeMenu!

    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
        
        let rootVC = UIViewController()
        rootVC.view.backgroundColor = UIColor(red:0.96, green:0.96, blue:0.98, alpha:1)
        rootVC.title = "YOUR PROFILE"
        rootVC.navigationItem.leftBarButtonItem = UIBarButtonItem(image: Image.menuImage,
            style: UIBarButtonItemStyle.Plain, target: self, action: "menu")
        rootVC.navigationItem.rightBarButtonItem = UIBarButtonItem(image: Image.addImage,
            style: UIBarButtonItemStyle.Plain, target: self, action: "add")
        
        let rootNC = UINavigationController(rootViewController: rootVC)
        
        let menuVC = MenuTableViewController()
        
        var options = WKAwesomeMenuOptions.defaultOptions()
        options.backgroundImage = UIImage(named: "bg")
        self.awesomeMenu = WKAwesomeMenu(rootViewController: rootNC, menuViewController: menuVC, options: options)
        
        self.window = UIWindow(frame: UIScreen.mainScreen().bounds)
        self.window?.rootViewController = self.awesomeMenu
        self.window?.makeKeyAndVisible()
        
        UINavigationBar.appearance().translucent = false
        UINavigationBar.appearance().tintColor = Color.appTintColor
        UINavigationBar.appearance().barTintColor = UIColor.whiteColor()
        UINavigationBar.appearance().setBackgroundImage(UIImage(), forBarMetrics: UIBarMetrics.Default)
        UINavigationBar.appearance().shadowImage = Image.shadow
        UINavigationBar.appearance().titleTextAttributes = [
            NSFontAttributeName: Font.buttonFont,
            NSForegroundColorAttributeName: Color.appTitleColor
        ]
        
        return true
    }
    
    func menu() {
        self.awesomeMenu.openMenu()
    }
    
    func add() {
        //
    }

}<commit_msg>Update UI for demo<commit_after>//
//  AppDelegate.swift
//  Demo
//
//  Created by <NAME> on 30.01.2016.
//  Copyright © 2016 Wonderkiln. All rights reserved.
//

import UIKit
import WKAwesomeMenu

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
    
    var window: UIWindow?
    
    var awesomeMenu: WKAwesomeMenu!

    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
        
        let rootVC = UIViewController()
        rootVC.view.backgroundColor = UIColor(red:0.96, green:0.96, blue:0.98, alpha:1)
        rootVC.title = "HOME"
        rootVC.navigationItem.leftBarButtonItem = UIBarButtonItem(image: Image.menuImage,
            style: UIBarButtonItemStyle.Plain, target: self, action: "menu")
        
        let rootNC = UINavigationController(rootViewController: rootVC)
        
        let menuVC = MenuTableViewController()
        
        var options = WKAwesomeMenuOptions.defaultOptions()
        options.backgroundImage = UIImage(named: "bg")
        self.awesomeMenu = WKAwesomeMenu(rootViewController: rootNC, menuViewController: menuVC, options: options)
        
        self.window = UIWindow(frame: UIScreen.mainScreen().bounds)
        self.window?.rootViewController = self.awesomeMenu
        self.window?.makeKeyAndVisible()
        
        UINavigationBar.appearance().translucent = false
        UINavigationBar.appearance().tintColor = Color.appTintColor
        UINavigationBar.appearance().barTintColor = UIColor.whiteColor()
        UINavigationBar.appearance().setBackgroundImage(UIImage(), forBarMetrics: UIBarMetrics.Default)
        UINavigationBar.appearance().shadowImage = Image.shadow
        UINavigationBar.appearance().titleTextAttributes = [
            NSFontAttributeName: Font.buttonFont,
            NSForegroundColorAttributeName: Color.appTitleColor
        ]
        
        return true
    }
    
    func menu() {
        self.awesomeMenu.openMenu()
    }

}
{'fraction_non_alphanumeric': 0.09351503759398497, 'fraction_numerical': 0.010338345864661654, 'mean_word_length': 2.9162833486660533, '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': '5286902', 'n_tokens_mistral': 1261, 'n_tokens_neox': 1212, 'n_words': 223}