• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Raw Swift
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Raw Swift


  • Subject: Raw Swift
  • From: "Gerriet M. Denkmann" <email@hidden>
  • Date: Fri, 19 Sep 2014 07:45:41 +0700

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.


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Raw Swift
      • From: Greg Parker <email@hidden>
    • Re: Raw Swift
      • From: Roland King <email@hidden>
  • Prev by Date: Re: Still need help with Services. Is there sample code?
  • Next by Date: Re: Raw Swift
  • Previous by thread: Re: Updating iPad to 8.0 final
  • Next by thread: Re: Raw Swift
  • Index(es):
    • Date
    • Thread