i have this if statement worked well but the code: DqJUXRcx may changed so, how to make it == random code ?
@IBAction func btnPlusPressed(_ sender: UIButton)
{
var strURLl = url.text!
if (url.text == "DqJUXRcx" as String ){
strURLl = "https://pastebin.com/raw/\(url.text!)"
} else {
strURLl = "\(url.text!)"
}
}
Aucun commentaire:
Enregistrer un commentaire