> On 19 Sep 2014, at 8:45 am, Gerriet M. Denkmann <gerr...@mdenkmann.de> wrote: > > This works fine in Xcode 6.0.1: > > import Cocoa > > enum ButtonTitle : String > { > case TitelStop = "Stop" > case TitelDone = "Done" > } > > let buttonMode = ButtonTitle.TitelDone > > let mode = ButtonTitle.toRaw( buttonMode )() > > > But Xcode 6.1 beta 2 says: "error: 'ButtonTitle.Type' does not have a member > named 'toRaw'" > > Syntax change in Swift? Bug in Xcode? Bug in my code? > > Gerriet.
It’s in the release notes - you should always read them, there’s lots of changes every release. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com