I was wondering how i could have 2 functions work from 1 button. One would happen on the first time you click and second will happen the second time you click. in java something like this:
if button pressed{
// Code
if button pressed{
// Code
}
}
or at least that's how I was taught in java. so I'm wondering how I could do that in swift. Thanks!