|
Hello, I was wondering if anyone could please help me.. I've manged to do the challenges for this and added my own extra animations to it, however the only problem I now seem to be facing is that the correct flag ALWAYS appears in the same place in the ForEach loop and my brain just doesn't have a clue ! I'm just over a month in to learning how to code so sorry it's probably something blindingly obvious but any help would be massively appreciated! Here's my code: |
|
|
|
Here:
you reshuffle the countries to get new choices but you don't generate a new You need to do this:
|
|
Wow I am majorly kicking myself for this one I knew it would've been something simple like that haha! It works now! THANK YOU SO MUCH! I really appreciate it! |
SPONSORED Join a FREE crash course for mid/senior iOS devs who want to achieve an expert level of technical and practical skills – it’s the fast track to being a complete senior developer! Hurry up because it'll be available only until April 28th.
Sponsor Hacking with Swift and reach the world's largest Swift community!
This topic has been closed due to inactivity, so you can't reply. Please create a new topic if you need to.
All interactions here are governed by our code of conduct.
Link copied to your pasteboard.