Skip to content

Instantly share code, notes, and snippets.

@rpomeroy
Created June 28, 2014 19:41
Show Gist options
  • Save rpomeroy/4a10489ad7bab6989280 to your computer and use it in GitHub Desktop.
Save rpomeroy/4a10489ad7bab6989280 to your computer and use it in GitHub Desktop.
Use Swift as a scripting language
#!/usr/bin/env xcrun swift -i
var str = "Hello, playground"
println(str)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment