From e4ec0ff6e6dd64da0e07a4ab6214086d2e2cd2b8 Mon Sep 17 00:00:00 2001 From: Christoffer Winterkvist Date: Mon, 23 Nov 2015 10:01:58 +0100 Subject: [PATCH] Update Example --- Example/CompassExample/CompassExample/AppDelegate.swift | 6 +++--- Example/CompassExample/Podfile.lock | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Example/CompassExample/CompassExample/AppDelegate.swift b/Example/CompassExample/CompassExample/AppDelegate.swift index a2b0605..e7054d6 100644 --- a/Example/CompassExample/CompassExample/AppDelegate.swift +++ b/Example/CompassExample/CompassExample/AppDelegate.swift @@ -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) diff --git a/Example/CompassExample/Podfile.lock b/Example/CompassExample/Podfile.lock index 6885d0f..3488e6c 100644 --- a/Example/CompassExample/Podfile.lock +++ b/Example/CompassExample/Podfile.lock @@ -1,5 +1,5 @@ PODS: - - Compass (0.1.0) + - Compass (1.1.0) DEPENDENCIES: - Compass (from `../../`) @@ -9,6 +9,6 @@ EXTERNAL SOURCES: :path: "../../" SPEC CHECKSUMS: - Compass: e01188a61ec071d122ca607202a21eb9b52ea0b9 + Compass: 884465fe6cd5f809a4e6640f7933de31331e0d38 COCOAPODS: 0.39.0