Playground do not respond .

Hi, with my new iMac I want to continue learning swift, I was told that the playground is a good tool and I trust.

I got the Xcode/New/Playground  file and wrote some code -  see it :
```import Cocoa
        var greeting = "Hello, playground"

         for i in 1...10{
        print (i)
     }
The same code runs on Xcode 9.2 (9C40b)
I can't help myself 🥲
Uwe

Edit:
I downloaded Michael Kofler's Swift 5 examples and they even did not run

What does not work ?

I tested, it works perfectly with Xcode 14.2.

Nothing shows ? Maybe the console is not visible ?

Click on the icon at the bottom right to show console or select menu View > Debug area > Activate console

If that's OK, dont forget to close the thread (and some others you have created) by marking the answer as correct. Otherwise please explain the problem: what you get, what you expect.

My fault, the Reason is : Xcode 4 has the default "Automatically Run" and 14 has "Manually Run". Thank you for your reply.

Playground do not respond .
 
 
Q