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 Object-Oriented Swift Complex Data Structures Methods

Documentation comment not showing up from function... Change in Xcode?

At 4:37 in the video, Pasan Premaratne has us use the option button on the keyboard to view the documentation comments for the points function. Whenever I hold down the "Options" button, hover over the points function name, and click when the question mark appears, the popup box doesn't show anything that it usually does and only says, "No Quick Help" and had a button for "Search Documentation".

I have hit the "Execute Playground" button (blue arrow above the console) just to make sure that everything did compile and everything. I have no errors or any other flags. So, I was wondering if anyone else is having the same thing happen, and if this might be because there might be something different in the versions of Xcode regarding this small thing.

Also... I normally would have added my code in here for inspection, but I am watching the videos on one computer, and running Xcode on a completely different computer so that I don't have to switch windows constantly, or resize the Xcode window to be able to do both at the same time. So, I'm not able to just copy and paste.

I have verified a few different times that all code is exactly the same, and I do not have any kind of errors or flags.

Pasan Premaratne
Pasan Premaratne
Treehouse Teacher

Hey Michael. This is just Xcode being buggy. If your code is error free and it still doesn't work, you can switch playground pages to reset things, or restart Xcode. You'll notice in later screencasts that I have to resort to this often :/