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

Greg Kitchin
Greg Kitchin
31,522 Points

Viewing results of a program in Xcode

With Xcode and Swift, I can see variable details etc, but not the end results of a program. How do I run a program in Swift?

1 Answer

Thomas Dobson
Thomas Dobson
7,511 Points

Hi Greg,

In Xcode click and hold the Play button. This gives you four options: Run Test Profile Analyze

Also you can option click the Play button for various settings and configurations.

Furthermore you can utilize the Debugging tools.

I hope this helps.