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 trialJames Clopton
2,060 Pointsmy autocomplete does not work like yours I am using swift 5 would that make a difference
when using the function area I have to type the length: and then the actual length as with the width. My autocomplete does not show up as your does. Is this because I am using Swift 5
1 Answer
Michael Hulet
47,913 PointsAutocomplete should still work with Swift 5, so that shouldn't make a difference. Is there a compiler error somewhere in your code that might prevent Playgrounds from running? If not, it sounds like Xcode might've gotten a little bit corrupted, which happens sometimes. It might help if you hit Command+Shift+K to clean your build folder and restart Xcode