//
// AppDelegate.swift
// PoseGallery
//
// Copyright © 2016 Trollwerks Inc. All rights reserved.
//

import UIKit

/**
Singleton UIApplication delegate
*/
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    // MARK: - Properties

    /// Root window
    var window: UIWindow?

    // MARK: - UIApplicationDelegate implementations

    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {

        R.assertValid()

        startReporting()

        DataModel.model.intro(launchOptions)

        return true
    }

    func applicationWillResignActive(application: UIApplication) {
    }

    func applicationDidEnterBackground(application: UIApplication) {
        DataModel.model.outro()
    }

    func applicationWillEnterForeground(application: UIApplication) {
        DataModel.model.reintro()
    }

    func applicationDidBecomeActive(application: UIApplication) {
    }

    func applicationWillTerminate(application: UIApplication) {
        DataModel.model.outro()
   }
}

//
// AppDelegate.swift
// PoseGallery
//
// Copyright © 2016 Trollwerks Inc. All rights reserved.
//

import UIKit

/**
Singleton UIApplication delegate
*/
@UIApplicationMain
public class AppDelegate: UIResponder, UIApplicationDelegate {

    // MARK: - Properties

    /// Root window
    public var window: UIWindow?

    // MARK: - UIApplicationDelegate implementations

    public func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {

        R.assertValid()

        startReporting()

        DataModel.model.intro(launchOptions)

        return true
    }

    public func applicationWillResignActive(application: UIApplication) {
    }

    public func applicationDidEnterBackground(application: UIApplication) {
        DataModel.model.outro()
    }

    public func applicationWillEnterForeground(application: UIApplication) {
        DataModel.model.reintro()
    }

    public func applicationDidBecomeActive(application: UIApplication) {
    }

    public func applicationWillTerminate(application: UIApplication) {
        DataModel.model.outro()
   }
}

--- 
+++ 
@@ -11,16 +11,16 @@
 Singleton UIApplication delegate
 */
 @UIApplicationMain
-public class AppDelegate: UIResponder, UIApplicationDelegate {
+class AppDelegate: UIResponder, UIApplicationDelegate {
 
     // MARK: - Properties
 
     /// Root window
-    public var window: UIWindow?
+    var window: UIWindow?
 
     // MARK: - UIApplicationDelegate implementations
 
-    public func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
+    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
 
         R.assertValid()
 
@@ -31,21 +31,21 @@
         return true
     }
 
-    public func applicationWillResignActive(application: UIApplication) {
+    func applicationWillResignActive(application: UIApplication) {
     }
 
-    public func applicationDidEnterBackground(application: UIApplication) {
+    func applicationDidEnterBackground(application: UIApplication) {
         DataModel.model.outro()
     }
 
-    public func applicationWillEnterForeground(application: UIApplication) {
+    func applicationWillEnterForeground(application: UIApplication) {
         DataModel.model.reintro()
     }
 
-    public func applicationDidBecomeActive(application: UIApplication) {
+    func applicationDidBecomeActive(application: UIApplication) {
     }
 
-    public func applicationWillTerminate(application: UIApplication) {
+    func applicationWillTerminate(application: UIApplication) {
         DataModel.model.outro()
    }
 }
Fix swiftlint missing_docs by depublicizing app delegate

No longer needed for testing in Xcode 7.
