Skip to content

Commit

Permalink
Clean up AppDelegate
Browse files Browse the repository at this point in the history
  • Loading branch information
3lvis committed Dec 13, 2015
1 parent e7922fc commit 6ecb39a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions AppNet/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
NSForegroundColorAttributeName : UIColor.whiteColor()]

window = UIWindow(frame: UIScreen.mainScreen().bounds)

let initialViewController = ViewController(dataStack: dataStack)

window?.rootViewController = UINavigationController(rootViewController: initialViewController)
window?.rootViewController = UINavigationController(rootViewController: ViewController(dataStack: dataStack))
window?.makeKeyAndVisible()

return true
Expand Down

0 comments on commit 6ecb39a

Please sign in to comment.