I might be breaking some rule with my message but please excuse me for my first time login!
After months of studying swift, I thought I'm able to start my first simple app! But seems the reality is different from my thoughts!
What I need to do is a testing app, the interface has 3 buttons, the app will ask a question e.g. 3x6, the right answer goes to one of the buttons in random order, while the other buttons will be filled with other random numbers!
I tried to do it by taking two numbers from two random generators (num1 and num2), take these two numbers to say(3 and 6) and display it in one of the buttons. At this point where I got messing around, first, how to take the last two numbers and fill it in remaining buttons, second, I have a vague idea is to use a loop which representing the buttons where I got lost when I tried it :(
I have struggled with this problem for a few weeks trying different approaches but at the end, I go to the same problems which I mentioned above.
Your help highly appreciated!