|
Hi everyone, I am on day 89 (Project 17, part 4 - Ending the app with allowsHitTesting()). When testing on simulator, after removing all cards:
Here is the code of ContentView.swift:
Please help me to solve the problem. Thank you! |
|
I don't think my solution is related to your issue but I noticed in your resetCards() method, you're reinitialising cards the array with .example2 instead of .example when you first loaded ContentView.
Could you try changing it to .example instead? |
SPONSORED Get accurate app localizations in minutes using AI. Choose your languages & receive translations for 40+ markets!
Sponsor Hacking with Swift and reach the world's largest Swift community!
You need to create an account or log in to reply.
All interactions here are governed by our code of conduct.
Link copied to your pasteboard.