Skip to content

Commit

Permalink
Updated Readme.md for swiftier setup
Browse files Browse the repository at this point in the history
  • Loading branch information
mRs- committed Dec 11, 2016
1 parent 380bbc1 commit b7274c5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ Instead of

```swift
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
self.window = UIWindow(frame: UIScreen.main.bounds)
self.window?.rootViewController = MainViewController()
self.window?.makeKeyAndVisible()
window = UIWindow(frame: UIScreen.main.bounds)
window?.rootViewController = MainViewController()
window?.makeKeyAndVisible()
return true
}
```
Expand All @@ -64,9 +64,9 @@ write

```swift
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
self.window = UIWindow(frame: UIScreen.main.bounds)
self.window?.rootViewController = TinyConsoleController(rootViewController: MainViewController())
self.window?.makeKeyAndVisible()
window = UIWindow(frame: UIScreen.main.bounds)
window?.rootViewController = TinyConsoleController(rootViewController: MainViewController())
window?.makeKeyAndVisible()
return true
}
```
Expand Down

0 comments on commit b7274c5

Please sign in to comment.