Run Swift

print("Hello World! :-)");

  

Foundation framework not available
 

Run Swift is a web tool where you can easily try Apple's Swift language online. Just paste any snippet, switch to the Swift version you prefer (either 2.2 - without Foundation support - 3.1, or 4.0-dev) and click    Run . You may also    Save  your scripts and/or share with the world. If what you're looking for is an easy-to-use tool for your Mac, to quickly test and run Swift code, then you may want to have a look at our Run Swift app for MacOS.