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 Inheritance Overriding Methods

Konstantin Bashenko
Konstantin Bashenko
1,283 Points

My Xcode 7 beta crashes when I'm trying to override the Product class.

As far as I know, they changed swift a bit. Or is it because of unstable beta? This kind of sucks, as I am unable to continue :/ Any ideas, gents?

5 Answers

Dylan Shine
Dylan Shine
17,565 Points

You can have two separate versions of Xcode on your machine...just download Xcode 6 again if you got rid of it.

Did anyone find a fix to this Xcode issue?

Konstantin Bashenko
Konstantin Bashenko
1,283 Points

Yeah, thanks. I was hoping to hear something like "you got to change your code like so..." but it is Xcode problem :( Thanks again.

Dylan Shine
Dylan Shine
17,565 Points

Xcode is buggy as is, I wouldn't try developing with Xcode 7 until it's released later this Fall i believe.

Just as an update, Xcode 7 is out of beta and still crashes when I add the default value 10.0 to the method.

sergei zh
sergei zh
2,687 Points

It looks like XCode 7 is not working. This is solution: download XCode 6.4 http://adcdownload.apple.com/Developer_Tools/Xcode_6.4/Xcode_6.4.dmg