Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS Swift Collections and Control Flow Control Flow With Loops For In Loop

JING FEI
JING FEI
1,415 Points

Why is my Xcode toolbar always showing "Running SwiftBasics" without an end?

When learning "Arrays", I found that my Xcode suddenly gave no feedback on what I typed in. The toolbar always showed a loading mark and a text called "Running SwiftBasics". I don't know whether my code is right or wrong. The right section of the playground is blank. Can anyone please help me?

3 Answers

Caden Nichols
Caden Nichols
389 Points

Restart your computer. It does this to me from time to time

Check if you are using loop, and make sure your loop is not infinite.

Justin Wong
Justin Wong
4,781 Points

Are you running Xcode Playgrounds automatically? Try changing it to manually run so there is better performance.