Skip to content

Commit

Permalink
final
Browse files Browse the repository at this point in the history
  • Loading branch information
AmalH committed Jun 6, 2018
1 parent 7f0a265 commit 89544ac
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
Binary file not shown.
3 changes: 0 additions & 3 deletions AuthSample/Utils/LoginCoordinator.swift
Expand Up @@ -120,15 +120,12 @@ class LoginCoordinator: ILLoginKit.LoginCoordinator {
Alamofire.request("http://localhost:8888/authSample/register.php", method: .get, parameters: parameters).responseJSON
{
response in
print("RESPONSE 1:\(response)")
if let result = response.result.value
{

print("RESPONSE 2:\(response)")
let jsonData = result as! NSDictionary
let val = jsonData.value(forKey: "value") as! Int64
print("VALUE:\(val)")
print("RESPONSE 3:\(jsonData)")

if(val==0){
print("fail")
Expand Down

0 comments on commit 89544ac

Please sign in to comment.