Part 6: Joining the dots with View Controllers — the UI testing part (with bonus Enums)

Hi, great tutorial. I move from objective c and trying to get use to the synatx of swift and the new testing framework that Apple is trying to push developer into.

However i have a question regarding the switch statement for button. Usually in this case, i prefer to spilt into different button IBAction rather than having a switch or if else. So my question is there any reason why do you prefer it this way?

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.