Skip to content

Commit

Permalink
Swift Sample app: v2.1.4
Browse files Browse the repository at this point in the history
- Non-optional username/password
  • Loading branch information
ashokds committed Jul 23, 2019
1 parent 036ae37 commit 735483f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@
C9FF31051F321A000076D6CA /* Resources */,
C9FF314E1F3258C50076D6CA /* Embed Frameworks */,
D7F5219825D2683BE85691CB /* [CP] Embed Pods Frameworks */,
B488346EF55C69F9CC0C784D /* [CP] Copy Pods Resources */,
07DDC5A0B3A3A2D85E993EBE /* [CP] Copy Pods Resources */,
);
buildRules = (
);
Expand Down Expand Up @@ -353,7 +353,7 @@
/* End PBXResourcesBuildPhase section */

/* Begin PBXShellScriptBuildPhase section */
B488346EF55C69F9CC0C784D /* [CP] Copy Pods Resources */ = {
07DDC5A0B3A3A2D85E993EBE /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,12 @@ class LoginViewController: UIViewController, UITextFieldDelegate
{
SVProgressHUD.show(withStatus: "Authenticating...");

let username = tf_username.text;
let password = tf_password.text;
guard let username = tf_username.text else {
return
}
guard let password = tf_password.text else {
return
}
let integratorKey = ProfileManager.Static.integratorKey;
let hostUrl: URL! = ProfileManager.Static.demoHostApi;

Expand Down

0 comments on commit 735483f

Please sign in to comment.