• 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: Error in Swift code in Playground
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error in Swift code in Playground


  • Subject: Re: Error in Swift code in Playground
  • From: Peter Hudson <email@hidden>
  • Date: Mon, 22 May 2017 18:59:29 +0100

Thank you all

Looks like I misinterpreted the output as an error - it’s just that in other versions of Playground that I have used, I have never seen such output. I couldn’t find anything anywhere that said it was just normal output.

The other thing I found baffling was that it takes time to appear.  I typed in the custom struct and it was several minutes before the __lldb__expr …..   appeared.

Anyway 

Thanks all.  Peter



On 22 May 2017, at 18:33, Saagar Jha <email@hidden> wrote:


Saagar Jha

On May 22, 2017, at 10:21, Peter Hudson <email@hidden> wrote:

I’m a bit baffled as to how one of my quotes could be of the wrong type - I only have one type of quote on my keyboard ?
( I suspect it’s got changed in Mail ) 

I thought struct s couldn’t inherit ?  Has something changed ?

Oops, poor choice of words–I meant “conform". CustomStringConvertible is a protocol.


Best  
 
Peter




On 22 May 2017, at 17:34, Michael Bauer <email@hidden> wrote:

Oops…
let somePoint = Custom3DPoint(x: 0, y: 0, z: 0, origin: "LUTON")
Thanks - these things do matter!


On May 22, 2017, at 12:31 PM, Saagar Jha <email@hidden> wrote:


Saagar Jha
Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Error in Swift code in Playground (From: Peter Hudson <email@hidden>)
 >Re: Error in Swift code in Playground (From: Michael Bauer <email@hidden>)
 >Re: Error in Swift code in Playground (From: Saagar Jha <email@hidden>)
 >Re: Error in Swift code in Playground (From: Michael Bauer <email@hidden>)
 >Re: Error in Swift code in Playground (From: Peter Hudson <email@hidden>)
 >Re: Error in Swift code in Playground (From: Saagar Jha <email@hidden>)

  • Prev by Date: Re: Error in Swift code in Playground
  • Next by Date: Find regex broken in Xcode 7.2.1?
  • Previous by thread: Re: Error in Swift code in Playground
  • Next by thread: Re: Error in Swift code in Playground
  • Index(es):
    • Date
    • Thread