Generar un numero random
Generar un número random
Escribir el código para crear una app que genere un número random, dibujar el diseño de la app y el código en swift en su cuaderno y en el blog, apoyandose en el video adjunto.
CÓDIGO
//
// viewController.swift
// Primera AppCF
//
// Created by Luis Enrique Hernandez Celaya on 04/06/17
// Copyright 2017 Codigo Facilito. All rights reserved.
//
import UIkit
Class viewController: UIViewController{
@IBOutlet weak var numbertxt: UIText Field!
@IBOutlet weak var intentoslbl: UI Label!
@IBOutlet weak var mensajelble: Ul Lablel!
@IBAction func validar(sender: Any) {
}
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view, typically from a nib.
}
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
// Dispose of any resources that can be recreated.
}
}
Comentarios
Publicar un comentario