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
Steven Andrew
10,933 PointsXcode: playground does not auto fill suggestions when typing
Hello,
Xcode does not autofill suggestions when typing like it does in the videos. It will do so when I create a new playground as a new "file" and select playground. However, in the videos Amit just creates a new playground and it seems to auto fill.
BTW i do have the autofill option selected in the options
Any suggestions, its driving me nuts.
2 Answers
Antoni Piotrowski
3,139 PointsI have this problem too, I googled around and found this solution on stackoverflow:
Go to Preferences > Locations > Derived Data > click the arrow to open in Finder. Delete folder named "Derived Data". And everything works again.
Not sure why this works, but this fixed my autocomplete problem
Steven Andrew
10,933 PointsAntoni that trick did not work for me.
I do notice that if i create a new playground and choose OS X as opposed to IOS it works.
At the top of the OS X playground there is "import Cocoa" as opposed to IOS "import UiKit"
Aurelian Spodarec
7,369 PointsIt didn't work for me either. This is like the worst bug or whatever it is, it's just grrrr, can't learn well cóż of that.
Aurelian Spodarec
7,369 PointsAurelian Spodarec
7,369 PointsHi. Try to make the same thingy, but download Admits project and make a new file. If that works, there's something wrong with Xcode that Im. Looking for ages to fix it. But there's a post might help you but I'm on phone so I'll may post it in 21h.