IMPORTANT
重要的
This is a preliminary document for an API or technology in development. Apple is supplying this information to help you plan for the adoption of the technologies and programming interfaces described herein for use on Apple-branded products. This information is subject to change, and software implemented according to this document should be tested with final operating system software and final documentation. Newer versions of this document may be provided with future seeds of the API or technology.
這是一個用於開發的API和技術的初期文檔。蘋果公司正在提供這些信息來幫助你把這項技術和編程接口應用到你的蘋果品牌產品中。這些信息是隨時變化的,依據這個文檔實現的軟件須要在最終的操做系統軟件和最終文檔上測試。新版本的文檔將會提供API和這項技術的將來種子(= =沒翻譯明白)。
Swift is a new programming language for iOS and OS X 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是一個創建在C和Objective-C基礎上,沒有C語言兼容性約束的用於開發IOS和OS X操做系統應用的新語言。"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基礎上的框架層,已經現代化和規範化。Objective-C自己已經發展到支持代碼塊,容器,單元模塊,這使不間斷的 採用現代語言成爲可能。(是這個意思吧?= =)多虧於這個基礎,咱們如今能夠爲蘋果軟件開發的未來引入這樣一個新語言。
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.
Objective- C的開發者會對於swift感到熟悉。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.
swift對新的編程人員是友好的。這是第一個工業質量(不懂= =)級別的系統編程語言,它像一個腳本語言同樣富有表現力和有趣味。它支持的playgrounds,是一個革新性的特性,它容許程序員在編寫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,world"一直衡量到整個操做系統。全部這些使得swift成爲一個對於開發者和對於蘋果來講都是一個健康的將來。(應該就是你選擇它 不會錯的意思= =)
Swift is a fantastic way to write iOS and OS X 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.
swift是一個做爲開發IOS和 OS X應用程序很好的方式,而且它會繼續開發新的特性和能力。咱們的目標是雄心壯志的swift,咱們火燒眉毛的想看到你建立出一個什麼樣的它。
參考:http://blog.csdn.net/lemonkongkong/article/details/28260557程序員