Official document translation for Swift language (1)

Source: Internet
Author: User
Tags documentation object model

Because I am ready to learn swift, but English has not reached the ability to read directly, so I have to translate it first, do not have to read English documents every time. This is the same as in the same year, for reading comprehension, do not understand the words to find out its meaning, labeled under the word, convenient for later review. So not professional, please include, also humbly consult.


Official website: About Swift


Important
This is an API or technical document under development, and the documentation provided by Apple is designed to help you plan to accept the technology and programming interfaces used in Apple products.
This information is subject to change, and the software interfaces mentioned in this document need to be verified through the final software operating system tests and final documentation. The new version of the document will provide a future prototype of the technology or API.


The swift language is a new programming language designed for iOS and OS X application development that absorbs the advantages of C and objective-c (OC) and rejects the binding that must have been compatible with C in the past. Swift takes a safe programming model and adds some new features that make programming easy, colorful, and fun. Swift's self-made (that is, when the language was first created) relied on a mature and beloved cocoa and cocoa touch framework, a great opportunity to discuss how software development should be done.


The swift language has been brewing for years, and Apple has laid the groundwork for the SWIFT project team to improve our existing compilers, debuggers, and framework infrastructures. We implement simple memory management through ARC (automatic reference counting). Our framework stack is built on the foundation (which should also be the name of a technology) and cocoa, and has now become modernized and standardized. OC itself is also beginning to support blocks, set constants and components, so that the framework uses modern language technology without interruption, thanks to this foundation (referred to as Cocoa and foundation), we have the opportunity to introduce a new programming language that Apple software development will use in the future.


Swift is very familiar to OC developers. In the name of the variable, OC readability and OC Dynamic Object model advantages are adopted. It seamlessly handles both the existing cocoa framework and the mashup interaction with OC code. By virtue of this feature, Swift introduces many new features and integrates process-oriented and object-oriented languages.


Swift is easy for beginners to get started with. It is the first industrial-quality system programming language, which is as easy to write as a scripting language. It supports playgrounds (interactive platform) and has innovative features: You can debug the code without running the entire project, and you can see the results immediately.


Swift integrates the best language available on the market and optimizes the compiler and development environment with the intelligence of Apple engineers without compromising, and its design pattern runs through the entire system from "HelloWorld" programs All of this makes the swift language a bright future for both Apple and the developer.


Swift is a fantastic way to write iOS and OS X applications, and will continue to extend new features and functionality. We have confidence in the future of swift, and we can't wait to see what you can create with it.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.