[swift-users] Can I create a Cocoa app that is only a Swift script?

tuuranton at tutanota.de tuuranton at tutanota.de
Tue Jun 20 09:34:37 CDT 2017


I want the entire code for my entire Mac app to look like this .swift script:


#!/path/to/swift
import Cocoa
// The rest of my entire Mac app.

Because we don't yet have binary stability, I guess I'd have to put the swift binary (which runs the above .swift script) and a bunch of .dylibs into the Mac .app bundle somehow.

Is this possible to do and if so, how?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20170620/d6c4dc17/attachment.html>


More information about the swift-users mailing list