Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- override func viewDidLoad() {
- super.viewDidLoad()
- let amigo1 = Amigo(nombre: "Pepe", foto: UIImage(named:"amigo1")!,
- gAfinidad: 5)
- let amigo2 = Amigo(nombre: "Caterina", foto: UIImage(named:"amigo2")!,
- gAfinidad: 0)
- let amigo3 = Amigo(nombre: "Tomás", foto: UIImage(named:"amigo3")!,
- gAfinidad: 5)
- amigos += [amigo1!, amigo2!, amigo3!]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement