Created
June 25, 2015 10:33
-
-
Save kimar/bef23aece1ec3c6e798d to your computer and use it in GitHub Desktop.
Hello World Swift CLI App
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/xcrun swift | |
import AppKit | |
struct Hello { | |
static func talk () { | |
println("Hello World!") | |
} | |
} | |
Hello.talk() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment