Post

Replies

Boosts

Views

Activity

Beginner error
Hello I am beginner learning iOS development from YouTube. I am writing the same exact code as that in video but I am getting error saying "Expressions are not allowed at the top level" The code is: import SwiftUI var highscore = 0 highscore = 99 the error is shoeing for last line of code. Would be grateful if anyone could help!
1
0
529
Jan ’24