thx for respondingi'm getting this errorError Domain=NSCocoaErrorDomain Code=3840 JSON text did not start with array or object and option to allow fragments not set. UserInfo={NSDebugDescription=JSON text did not start with array or object and option to allow fragments not set.}all code // // ViewController.swift // 123Taxi // // Created by José Raúl Toledano Rosado on 10/10/18. // Copyright © 2018 José Raúl Toledano Rosado. All rights reserved. // import UIKit import Alamofire class ViewController: UIViewController { @IBOutlet var Email: UITextField! @IBOutlet var Contrasena: UITextField! var iconClick : Bool! override func viewDidLoad() { super.viewDidLoad() iconClick = true // Do any additional setup after loading the view, typically from a nib. } @IBAction func verlacontra(_ sender: UIButton) { let userPazzword = Contrasena.text!; if(iconClick == true) { Contrasena.isSecureTextEntry = false iconClick = false } else { Contrasena.isSecureTextEntry = true iconClick = true } } //func para mostrar ale
Topic:
Developer Tools & Services
SubTopic:
Developer Forums
Tags: