mercredi 6 juin 2018

How to print from two lists on swift

If I have a list of first names, and then a list of second names then how do I print a random selection from 1 of each list

Let arrayX = [“James”, “Andrew”, “Sean”]
Let arrayY = [“Smith”, “Docherty”, “Anderson”]

So I could have James Smith, or Andrew Anderson?




Aucun commentaire:

Enregistrer un commentaire