关于swift

“Swift is a new programming language for iOS, macOS, watchOS, and tvOS apps that builds on the best of C and Objective-C, without the constraints of C compatibility. Swift adopts safe programming patterns and adds modern features to make programming easier, more flexible, and more fun. Swift’s clean slate, backed by the mature and much-loved Cocoa and Cocoa Touch frameworks, is an opportunity to reimagine how software development works.”

摘录来自: Apple Inc. “The Swift Programming Language (Swift 3.0.1)”。 iBooks.

swift是一门基于COC并且没有C的兼容约束、为iOS, macOS, watchOS, and tvOS apps而生的新语言。swift采用安全编程模式并添加现代因素让编程更简单、更灵活、更有趣。swift清白的历史得益于成熟且广受欢迎的Cocoa and Cocoa Touch框架,这是一个追忆软件开发作品的机会。

“Swift has been years in the making. Apple laid the foundation for Swift by advancing our existing compiler, debugger, and framework infrastructure. We simplified memory management with Automatic Reference Counting (ARC). Our framework stack, built on the solid base of Foundation and Cocoa, has been modernized and standardized throughout. Objective-C itself has evolved to support blocks, collection literals, and modules, enabling framework adoption of modern language technologies without disruption. Thanks to this groundwork, we can now introduce a new language for the future of Apple software development.”

摘录来自: Apple Inc. “The Swift Programming Language (Swift 3.0.1)”。 iBooks.

swift已经发展了几年。Apple通过提升我们现有的编译器、调试器和框架基础设施奠定swift的基础。我们使用自动引用计数(ARC)简化了内存管理。我们的框架堆栈,建立在可靠的Foundation and Cocoa之上,始终观测现代化及标准化。Objective-C本身已发展到支持blocks、集合常量及模型,在不分解的条件下使框架采用现代语言技术。得益于这种地基,我们现在可以为苹果将来的软件开发介绍一种新语言了。

“Swift feels familiar to Objective-C developers. It adopts the readability of Objective-C’s named parameters and the power of Objective-C’s dynamic object model. It provides seamless access to existing Cocoa frameworks and mix-and-match interoperability with Objective-C code. Building from this common ground, Swift introduces many new features and unifies the procedural and object-oriented portions of the language.”

摘录来自: Apple Inc. “The Swift Programming Language (Swift 3.0.1)”。 iBooks.

swift对于Objective-C的开发者而言很熟悉。它采用Objective-C的命名参数及动态对象模型。它提供无缝的到现存的cocoa框架的通道及与Objective-C代码的混合互操作性。根据这个一致性,swift介绍这门语言中的许多新特性以及统一面向对象的编程。

“Swift is friendly to new programmers. It is the first industrial-quality systems programming language that is as expressive and enjoyable as a scripting language. It supports playgrounds, an innovative feature that allows programmers to experiment with Swift code and see the results immediately, without the overhead of building and running an app.”

摘录来自: Apple Inc. “The Swift Programming Language (Swift 3.0.1)”。 iBooks.

swift对新程序员来说非常友好。它是第一个表现力和趣味性跟脚本语言一样的工业质量系统编程语言。它支持playgrounds,一项革新的特性:让程序员体验swift并且立即看到结果而且不需要重新编译运行APP。

“Swift combines the best in modern language thinking with wisdom from the wider Apple engineering culture. The compiler is optimized for performance, and the language is optimized for development, without compromising on either. It’s designed to scale from “hello, world” to an entire operating system. All this makes Swift a sound future investment for developers and for Apple.”

摘录来自: Apple Inc. “The Swift Programming Language (Swift 3.0.1)”。 iBooks.

swift从广阔的苹果引擎文化里结合了最好的现代语言智慧。编译器是最佳化的表现,并且语言对开发者来说也是最佳化的(也没有妥协)。它能设计从“hello world”到整个操作系统。所有这些让swift成为对开发者和Apple来说都是将来值得投资的。

“Swift is a fantastic way to write iOS, macOS, watchOS, and tvOS apps, and will continue to evolve with new features and capabilities. Our goals for Swift are ambitious. We can’t wait to see what you create with it.”

摘录来自: Apple Inc. “The Swift Programming Language (Swift 3.0.1)”。 iBooks.

swift是创建iOS、macOS、watchOS和tvOS APP非常棒的方式,并且swift将一直发展新特性及功能。对于swift我们的目标是很宏伟的。我们已经迫不及待想看看你用它创造什么了。
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值