Skip to content

Commit

Permalink
make Swift spelling more brief. (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
Liaoworking authored and yiplee committed Apr 28, 2019
1 parent 69cf0d4 commit 343b7a8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Examples/Demo-swift/Demo-swift/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
let frame = UIScreen.main.bounds
window = UIWindow.init(frame: frame)

let root = YPDemoViewController.init()
let nav = YPNavigationController.init(rootViewController: root)
nav.view.backgroundColor = UIColor.white
let root = YPDemoViewController()
let nav = YPNavigationController(rootViewController: root)
nav.view.backgroundColor = .white

window?.rootViewController = nav
window?.makeKeyAndVisible()
Expand All @@ -35,7 +35,7 @@ extension YPNavigationController : NavigationBarConfigureStyle {
}

public func yp_navigationBarTintColor() -> UIColor! {
return UIColor.white
return .white
}
}

0 comments on commit 343b7a8

Please sign in to comment.