How can you make an array of segues in swift?

46 views Asked by At

I'm trying to make an array in swift of segues so that I can switch to a random view controller via pressing a button.

1

There are 1 answers

1
Mundi On

You can more reasonably maintain an array of strings that could represent the segue.identifier.