Challenge: Leaderboard Data Model | raywenderlich.com


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/18176818-your-first-ios-and-swiftui-app-polishing-the-app/lessons/38
1 Like

I don’t get it — why in video testLeaderboard pass?
In second iteration must be 300, because in startNewRound func have “score += points”. It must be 300…

Oh, sorry, get it — mismatch scores with points.

The test fails unless you set score to “300” at index “0” of the second test.

I have done everything just like in the video, but my leaderboard data won’t show up when I run it on the simulator. This is confusing because the previewer shows what is supposed to be in the simulator, but nothing is showing up. I have no errors in my code. Please assist me.