简体   繁体   English

旧的Mac-它在xcode 3.2.6中支持swift吗

[英]old mac - does it support swift in xcode 3.2.6

I have developped my app on android but would like to do the dev for iOS. 我已经在android上开发了我的应用程序,但想为iOS做开发。 I have an old mac that supports only 10.6.8 and xcode 3.2.6. 我有一台旧的Mac,仅支持10.6.8和xcode 3.2.6。 I can get access from time to time on a mac with 10.10. 我可以在Mac 10.10上不时访问。 my understanding is that the way to go now is swift. 我的理解是,现在的路途很快。 will my xcode 3.2.6 support swift so that I could developp on my old mac and test on the newest 10.10. 我的xcode 3.2.6是否会迅速支持,以便我可以在旧的Mac上进行开发并在最新的10.10上进行测试。 what do you recommend I do? 你推荐我做什么? buying a new mac? 购买新的Mac? :) :)

Many thanks! 非常感谢!

Swift is only supported on xCode 6 like you can read here. 只有xCode 6支持Swift, 您可以在此处阅读。 And only for iOS 7 and higher. 并且仅适用于iOS 7和更高版本。

So even methods are available for iOS 2, as long as the devices don't have installed iOS 7 or higher the swift code can't be executed and you would need to use objective-c instead. 因此,即使未安装iOS 7或更高版本的设备也可以使用iOS 2的方法,因此无法执行swift代码,而您需要使用Objective-c。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM