Skip to content

Commit 82b7679

Browse files
author
Mike Amaral
committed
Changed default demo back to the Facebook profile example.
1 parent 2a696cf commit 82b7679

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Demo/AppDelegate.swift

+4-4
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
1919
// The facebook example from the README.... Don't ask why the file name is FacebookProfileExampleViewController
2020
// but the class referenced here is TwitterProfileExampleViewController... I didn't realize you can't yet refactor
2121
// swift code, and somehow this still works...
22-
// UINavigationBar.appearance().barTintColor = UIColor(red: 80/255.0, green: 108/255.0, blue: 163/255.0, alpha: 1.0)
23-
// UINavigationBar.appearance().translucent = false
24-
// self.window?.rootViewController = UINavigationController(rootViewController: TwitterProfileExampleViewController())
22+
UINavigationBar.appearance().barTintColor = UIColor(red: 80/255.0, green: 108/255.0, blue: 163/255.0, alpha: 1.0)
23+
UINavigationBar.appearance().translucent = false
24+
self.window?.rootViewController = UINavigationController(rootViewController: TwitterProfileExampleViewController())
2525

2626
// Used for tinkering and testing new methods - uncomment this out if you want to experiment!
2727
// self.window?.rootViewController = TestViewController()
2828

2929
// This is crazy-complex demo I have on the README. Uncomment this out to experience with that as well,
3030
// although I really built it for iPads.
31-
self.window?.rootViewController = ViewController()
31+
// self.window?.rootViewController = ViewController()
3232

3333
self.window?.makeKeyAndVisible()
3434
return true

0 commit comments

Comments
 (0)