• 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
Re: Raw Swift
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Raw Swift


  • Subject: Re: Raw Swift
  • From: Roland King <email@hidden>
  • Date: Fri, 19 Sep 2014 09:09:35 +0800

no you want the real release notes, the notes for Beta 1.2 release notes which should be somewhere near where you downloaded the beta from, not the stuff up in help which is and always has been just generic release notes. I found them here

http://adcdownload.apple.com//Developer_Tools/xcode_6.1_beta_2_c9kln6/xcode_6.1_beta_2_release_notes.pdf

Alternatively just type that line again and hit ‘escape’ after the dot before toRaw() and see what autocomplete has for you.


> On 19 Sep 2014, at 9:03 am, Gerriet M. Denkmann <email@hidden> wrote:
>
>
> On 19 Sep 2014, at 07:49, Roland King <email@hidden> wrote:
>
>>
>>> On 19 Sep 2014, at 8:45 am, Gerriet M. Denkmann <email@hidden> 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.
>
> I already did:
> Xcode (Version 6.1 (6A1030)) → Help → Documentation ... . A window appeared; I entered "toRaw" and got SCNSceneSource + SCNPhysicsWorld.
>
> Then:
> Xcode → Help → Release Notes. Searched for "toRaw" and got nothing. Searched "6.1" and got nothing.
>
> I must be doing something wrong.
>
> Kind regards,
>
> 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


References: 
 >Raw Swift (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: Raw Swift (From: Roland King <email@hidden>)
 >Re: Raw Swift (From: "Gerriet M. Denkmann" <email@hidden>)

  • Prev by Date: Re: Raw Swift
  • Next by Date: Re: Raw Swift
  • Previous by thread: Re: Raw Swift
  • Next by thread: Re: Raw Swift
  • Index(es):
    • Date
    • Thread