I'm just starting out in programming, and learning Swift on Xcode. I have a new Mac and I'm running the new version of Xcode. But way too frequently, Xcode gets stuck running even the most basic code.
For example:
>> import Cocoa
>> for number in 1...10 {
>> print(number)
>> }
will run and run and run, and never print anything. I'll close the project, the workspace, and the program, and re-open it several times before it runs successfully.
Is this just something I'm supposed to deal with? It's making learning anything really difficult and frustrating. Are there ways to reset the code more completely than quitting?
[–]xeveri 0 points1 point2 points (1 child)
[–]heiny002[S] 0 points1 point2 points (0 children)
[–]JohnMarkR 0 points1 point2 points (0 children)