Post

Replies

Boosts

Views

Activity

Printing Objects in Swift
Hi. This is my first day using Swift, and I'm trying to print the statement "Hello, World!", but it's not letting me do it. It says "Expressions are not allowed on the top level." By the way, I am using Xcode 12.3. Image of My Code - https://developer.apple.com/forums/content/attachment/f3f74dee-233f-4cf3-bd90-1bee10fb10a4
2
0
1.6k
Jan ’21