• Swift入门系列--Swift官方文档(2.2)--中文翻译--About Swift 关于Swift


    About Swift 关于Swift

    官方文档的翻译,仅供参考,本人英语本就不好,边学边翻译,不喜勿喷。

    Swift is a new programming language for iOS, OS X, 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.

    Swift是为iOS, OS X, watchOS,和tvOS 开发应用的一种新的编程语言,它基于C和OC,无缝兼容C。Swift才用安全编程模式,而且添加了许多新特性使变成变得简单、灵活、有趣。Swift是一个好的开始,在成熟的深受喜爱的Cocoa和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.

    Swift已经开发数年,苹果公司用现有的编译器、调试器和基本框架为Swift搭建了基础。用自动内存管理机制(ARC)简化了内存管理。我们框架栈基于标准、规范、可靠的Foundation框架和Cocoa框架。OC本省已经发展到支持块、容器和模块的水平,让框架无损的继承这些现代语言技术。多亏了这些基础,现在我们可以为苹果软件开发引入一种新的语言。

    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.

    OC的开发者会感觉Swift很熟悉,因为Swift采用了OC的可读性参数命名法和动态对象模型的优点。它可以无缝对接Cocoa框架,而且可以和OC混编。在这个基础上,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.

    Swift是一个新人友好的语言,是第一个工业标准的系统编程语言,使用起来和脚本语言一样轻松。它支持playground(可以在写代码同事看到结果,当然,前提是你的机器Hold住),一个革命新的改进,允许开发者在写Swift代码的时候立即看到运行结果。在不编译和运行应用的情况下。

    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.

    Swift是各种高级语言的优点和无数苹果工程师的智慧的结晶,在不影响其他事情的基础上,编译器优化了性能,并且优化了语言的发展。从“Hello Word!”到一个完整的操作系统,这些特性让Swift成了苹果和开发者对未来的投资。

    Swift is a fantastic way to write iOS, OS X, 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.

    对于iOS, OS X, watchOS和tvOS应用开发来书,Swift是极其出色的,我们将继续为Swift拓展新的特性和更加丰富的功能。我们志存高远。我们迫不及待的想要看到你们的创造。

  • 相关阅读:
    面试题:给定一个长度为N的数组,其中每个元素的取值范围都是1到N。判断数组中是否有重复的数字
    位运算技巧3
    Android消息循环分析
    ubuntu安装软件的方式
    fragment Trying to instantiate a class com.example.testhuanxindemo.MyFragment that is not a Fragmen
    LAN路由
    php 简易验证码(GD库)
    飘逸的python
    它们,不能是虚函数!!!
    HTML5调用摄像头实现拍照功能(兼容各大主流浏览器)
  • 原文地址:https://www.cnblogs.com/kongkaikai/p/5354061.html
Copyright © 2020-2023  润新知