[swift-users] Can I create a Cocoa app that is only a Swift script?
David Sweeris
davesweeris at mac.com
Thu Jun 22 10:25:55 CDT 2017
> On Jun 22, 2017, at 02:55, tuuranton--- via swift-users <swift-users at swift.org> wrote:
>
> > It is not. The first problem is that there is no
> > value of "/path/to/swift" that will work everywhere.
>
>
> Makes sense, but I guess one day macOS will ship with swift in a standard location like /usr/bin/swift so that would no longer be a problem.
It gets distributed as part of Xcode (which is free, but not preloaded on anything) or as a download from swift.org or GitHub now. Unless they port iOS's playgrounds app to macOS, I'm not sure what would motivate apple to change that in the future.
- Dave
More information about the swift-users
mailing list