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 trialOliver Powell
943 PointsrawValue non-existent in version 6.0 ... fromRaw() and toRaw() are similar.
Hi - I'm adding this 'question' because it seems to be an issue that a number of people, myself included, have run into. This video was my first clue that I was running a different version of Swift (Xcode 6.0 instead of 6.1). What I discovered is that rawValue did not exist until 6.1, and 6.0 instead used toRaw() and fromRaw(). More discussion of these here: http://stackoverflow.com/questions/26444107/enums-rawvalue-property-not-recognized
I hope this helps someone.