enum randomName: UInt32 {
case name1
case name2
case name3
case name4
case name5
case name6
case name7
case name8
}
I want to make a function to randomly pick a name from the enum. How do I do that?
Aucun commentaire:
Enregistrer un commentaire