Skip to content

Commit e4ec0ff

Browse files
author
Christoffer Winterkvist
committed
Update Example
1 parent ea06357 commit e4ec0ff

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

Example/CompassExample/CompassExample/AppDelegate.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
3131
if route == "profile:{username}" {
3232
let profileController = UIViewController()
3333
profileController.view.backgroundColor = UIColor.whiteColor()
34-
profileController.title = arguments["{username}"]
34+
profileController.title = arguments["username"]
3535
self.navigationController?.pushViewController(profileController, animated: true)
3636
} else if route == "login:{username}" {
3737
let loginController = LoginController()
38-
loginController.title = arguments["{username}"]
39-
let username = arguments["{username}"]
38+
loginController.title = arguments["username"]
39+
let username = arguments["username"]
4040
loginController.titleLabel.text = "\(loginController.titleLabel.text!) \(username!)"
4141
loginController.titleLabel.sizeToFit()
4242
self.navigationController?.pushViewController(loginController, animated: true)
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PODS:
2-
- Compass (0.1.0)
2+
- Compass (1.1.0)
33

44
DEPENDENCIES:
55
- Compass (from `../../`)
@@ -9,6 +9,6 @@ EXTERNAL SOURCES:
99
:path: "../../"
1010

1111
SPEC CHECKSUMS:
12-
Compass: e01188a61ec071d122ca607202a21eb9b52ea0b9
12+
Compass: 884465fe6cd5f809a4e6640f7933de31331e0d38
1313

1414
COCOAPODS: 0.39.0

0 commit comments

Comments
 (0)