面白げな記事を見つけました。 新・OS X ハッキング! (166) 開発者でなくても「Swift」は便利に使える | マイナビニュース #!/usr/bin/swift で swift が起動するというのです。 試してみる。Xcode は入っているので、ターミナルから試してみます。 バージョン確認 takuya@Desktop$ swift --version Apple Swift version 3.0.1 (swiftlang-800.0.58.6 clang-800.0.42.1) Target: x86_64-apple-macosx10.9 takuya@Desktop$ Macで実行してみる シェルスクリプトとしてSwift を実行してみる。sample.swift ファイルつくって shebang いれて、実行権限をいれる感じですね。 ファイル作って sample01.s