In Xcode 6.1, the enumerations toRaw and fromRaw functions don\'t work anymore:
toRaw
fromRaw
enum TestEnum : String { case A = \"a\" cas
Create an enum from a raw using the failable initializer with rawValue and get the raw value using the attribute rawValue.
rawValue
if let a = TestEnum(rawValue: "a") { println(a.rawValue) }
Read the changelog for more information.