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 trialChristiaan Hendriksen
5,982 PointsCommunication with the playground service was interrupted unexpectedly
When I leave the subclass parameters with (_ percentage: Double = 10.0) I get the error message in the title of this question.
Removing the space between _ and percentage makes the error go away, but stops the code working. Any ideas?
Will Joyner
1,813 PointsYes this exact same thing happens to me. I get a warning about "extraneous _ in parameter" and then xcode crashes. I'm also using the new Swift 2.0 update.
Yonca Yildiral
1,875 PointsSame error happens even before placing an underscore with my Xcode (7.0.1). It's having the problem when trying to override the func I think. Any news from the teachers?
Alexander Rivas
1,436 PointsI'm having the same problem as well
2 Answers
boris said
3,607 PointsI wonder if apple is going to fix this error in their next update
Danya Baron
3,170 Pointsthis is happening to me as well
boris said
3,607 Pointsboris said
3,607 PointsThat happened to me too. I think it is a bug with the new Swift 2.0 update.