Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

iOS Intermediate Swift Properties Property Observers

Question about the User interface that we create in this playground page

When I pull up the user interface my button seems to run incredibly slow compared to how quick he uses it in the video. I copy and pasted the downloadable ZIP file, so I was surprised to see it did not run at the same speed as the video. Can anyone explain why? is it because Xcode is on a much newer version since this video was filmed?

1 Answer

Michael Hulet
Michael Hulet
47,843 Points

This could be a lot of things, but ultimately it probably boils down to your computer. Make sure it's running the latest version of macOS and the latest version of Xcode, but some Macs just don't have the hardware specs to run Swift Playgrounds effectively. When Swift first came out in 2014, I had a bottom-of-the-line 2011 MacBook Air, and Swift Playgrounds was slow. It's better on my mid-2015 MacBook Pro now, but I'm still thinking of upgrading soon

A bit of your attention would be appreiciated.......Thank you for the above. I am using a 2017 Mac Pro. It Is brand new as I purchased no more than 2 or three months ago. I am a bit apprehensed that something is wrong with the computer as a whole, have appointment with apple. But would I be able to share with you my specs and see if anyone else has the same issue, or if anyone has this same issue and can respond equally would be appreciated. Is this normal on the new CATALINA update.