1

I miss IBM's Swift sandbox. I loved being able to try out quick ideas without have to fire up the Xcode monster.

I have been trying to use https://iswift.org/playground but because one can't use import, there just isn't much I can do with it.

Or, if you have any other ideas about lightweight alternatives to Xcode, for example, if you have ideas about how to get Foundation at least available on iswift... that would be great too.

Or, Is there a way to open Playgrounds without all of Xcode?

Thanks.

adazacom
  • 443
  • 3
  • 9

1 Answers1

1

My favorite sandbox is http://online.swiftplayground.run/

You can also use Import there and you can even select the Swift-Version. This is very useful! Foundation is imported by default.

And you can even download the .swift file or .playground file

Jonathan
  • 330
  • 2
  • 12
  • I have tried this before but I can't get it to work, neither in Safari or Firefox. When I press Run, nothing happens. – adazacom Dec 14 '18 at 08:56
  • Hm thats weird. Because it works everytime for me, I used it on Safari,Chrome and Firefox. Do you have JavaScript enabled? An oh, btw, this sandbox is powered by IMB Cloud – Jonathan Dec 14 '18 at 08:59
  • 1
    It works for me on iPhone with iOS12 too. I think the problem is, that it only use http and dont https. Maybe check your settings in your browser – Jonathan Dec 14 '18 at 09:02
  • 1
    It works at home. So I guess it must be our firewall at work. Thanks. I will give it a try. – adazacom Dec 15 '18 at 07:07