相关疑难解决方法(0)

基于Swift的应用程序是否适用于OS X 10.9/iOS 7及更低版本?

基于Swift的应用程序是否适用于OS X 10.9(Mavericks)/ iOS 7及更低版本?

例如,我有一台运行OS X 10.8(Mountain Lion)的机器,我想知道我在Swift中编写的应用程序是否会运行它.

macos ios swift

612
推荐指数
18
解决办法
11万
查看次数

我们可以将swift代码集成到部署目标低于iOS 7的应用程序中吗?

由于Swift支持与目标c的混合匹配,因此我们可以使用它来构建部署目标小于iOS 7的应用程序.

来自Swift Prerelease文档在基本设置部分,我读到的是:

Swift is designed to provide seamless compatibility with Cocoa and Objective-C. You can use Objective-C APIs
(ranging from system frameworksto your own custom code) in Swift, and you can use Swift APIsin Objective-C.
This compatibility makes Swift an easy, convenient, and powerful tool to integrate into your Cocoa app
development workflow.
This guide covers three important aspects of this compatibility that you can use to your advantage when
developing Cocoa apps:

 ? Interoperability lets …
Run Code Online (Sandbox Code Playgroud)

objective-c ios swift

11
推荐指数
2
解决办法
2390
查看次数

标签 统计

ios ×2

swift ×2

macos ×1

objective-c ×1