Skip to content

Commit

Permalink
Update Example
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoffer Winterkvist committed Nov 23, 2015
1 parent ea06357 commit e4ec0ff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Example/CompassExample/CompassExample/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
if route == "profile:{username}" {
let profileController = UIViewController()
profileController.view.backgroundColor = UIColor.whiteColor()
profileController.title = arguments["{username}"]
profileController.title = arguments["username"]
self.navigationController?.pushViewController(profileController, animated: true)
} else if route == "login:{username}" {
let loginController = LoginController()
loginController.title = arguments["{username}"]
let username = arguments["{username}"]
loginController.title = arguments["username"]
let username = arguments["username"]
loginController.titleLabel.text = "\(loginController.titleLabel.text!) \(username!)"
loginController.titleLabel.sizeToFit()
self.navigationController?.pushViewController(loginController, animated: true)
Expand Down
4 changes: 2 additions & 2 deletions Example/CompassExample/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PODS:
- Compass (0.1.0)
- Compass (1.1.0)

DEPENDENCIES:
- Compass (from `../../`)
Expand All @@ -9,6 +9,6 @@ EXTERNAL SOURCES:
:path: "../../"

SPEC CHECKSUMS:
Compass: e01188a61ec071d122ca607202a21eb9b52ea0b9
Compass: 884465fe6cd5f809a4e6640f7933de31331e0d38

COCOAPODS: 0.39.0

0 comments on commit e4ec0ff

Please sign in to comment.