我已更新到Xcode 6,最新版本出现在AppStore上。我正在运行OS X Yosemite Beta 3,显然,我只能打开iOS游乐场,并且列表中缺少OS X。
我附上了截图。嗯,有什么想法吗?
答案 0 :(得分:4)
您可以下载Xcode 6.1,其中包含适用于Mac OS X的swift。
另请查看此链接:https://developer.apple.com/swift/blog/
Swift for OS X
Today is the GM date for Swift on iOS. We have one more GM date to go for Mac. Swift for OS X currently requires the SDK for OS X Yosemite, and when Yosemite ships later this fall, Swift will also be GM on the Mac. In the meantime, you can keep developing your Mac apps with Swift by downloading the beta of Xcode 6.1.
答案 1 :(得分:0)
正如您所看到的,如果您启动一个空项目并选择了OS X,那么您就没有语言快速。所以只有ObjectiveC作为基于Cocoa的应用程序的语言。也许在Yosemite决赛中,这个功能将会实施。我想我们应该等待Swift&的GM日期。优胜美地去Mac。