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

Re: playground


  • Subject: Re: playground
  • From: sqwarqDev <email@hidden>
  • Date: Tue, 10 Jun 2014 18:44:57 +0700

On 9 Jun 2014, at 21:51, Roland King <email@hidden> wrote:

> I just watched the playgrounds video from WWDC. If you haven't watched it, watch it.

It might be worth pointing out that you can run the Swift interpreter in Terminal. I've found this to be both more stable and more user-friendly in terms of seeing the console results than using the Playground environment.

To run in terminal, use the commands

$ sudo xcode-select -switch /Applications/Xcode6-Beta.app/Contents/Developer
$ xcrun swift

More info, including a very useful applescript handy for making sure you don't mess up your existing development environment (see the post by nsuinteger), can be found here:

http://stackoverflow.com/questions/24011120/how-can-i-use-swift-in-terminal





 _______________________________________________
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: 
 >playground (From: Roland King <email@hidden>)

  • Prev by Date: Re: playground
  • Next by Date: Re: Run script, determine if archiving?
  • Previous by thread: Re: playground
  • Next by thread: Re: playground
  • Index(es):
    • Date
    • Thread