1.swift Introduction

Source: Internet
Author: User

1.Swift Development Quick Experience1.1 Goals
    • Playground Quick experience & learning resources sharing
    • Project development quick Experience, understanding Swift BASIC Program Structure
1.2 Learning Resources
    • Apple Official Blog https://developer.apple.com/swift/blog/
    • Apple official Swift 2.0 ebook https://itunes.apple.com/us/book/id1002622538
    • 2.0 Chinese Version http://wiki.jikexueyuan.com/project/swift/
    • 100 Essential tips for swift, author Wang Wei, suggest buying a physical book http://onevcat.com
2.swift History 2.1 Introduction
    • The Swift language was launched by Apple in 2014 to compose OS X and IOS apps
    • 2014, in the Apple WWDC release
2.2 History
    • In July 2010, the Apple Developer Tools Division always 克里斯·拉特纳 started the design of the Swift programming language
    • Complete the basic architecture in one year
    • Swift has been in development for about 4 years, released in June 2014
    • Plan to open source at the end of 2015
2.3 Major Events
    • June 2014 Apple releases Xcode 6.0 while releasing Swift 1.0
    • In February 2015, Apple also launched the Xcode 6.2 Beta 5 and 6.3 beta, while perfecting Swift 1.1, introducing the Swift 1.2 Beta
    • In June 2015, Apple released the beta version of Xcode 7.0 and Swift 2.0 and declared that it was open source at the end of the year
    • September 15, 2015, the official release of Xcode 7.0
since its release, every move by Apple has demonstrated its commitment to aggressively promoting Swift.

From its release to now, because the grammar changes too fast, the most bitter is also the biggest harvest than with the Swift development framework of the program members

3. Version
    • Official version 2.0 Xcode 7.0.1
    • Beta version 2.1 Xcode 7.1 3
4.Swift features
    • Apple claims Swift is characterized by fast, modern, secure, interactive, and significantly better than objective-c language
    • You can use the existing Cocoa and Cocoa Touch framework
    • 取消了 Objective-C 的指针use of Swift and other unsecured access
    • Discard objective-c Early application Smalltalk syntax and change to period notation
    • Provides Java-like namespaces ( namespace ), generics ( generic ), operand overloading ( operator overloading )
    • Swift is simply described as "objective-c without C" (Objective-c without the C)
5.Swift Status
    • At present, some of the new projects in domestic companies have been directly developed by Swift
    • Many companies are now working on Swift's talent pool.
    • When applying, Swift development will undoubtedly increase its own chips
6. Why learn Swift?
    1. Since April, Apple has provided no OC for the information, which suggests that Apple's determination to drive Swift
    2. OC originated from smalltack-c , has been more than 40 years of history, although OC the project will continue for some time in the future, but also for the Swift future inevitable trend
    3. Now many companies pay attention to the talent reserve, if swift, employment will have a great advantage, if the resume will be swift, although the interview although not how to be asked, but for the salary increase is very helpful, but also from another side can prove that we are self-learning ability of people, this is what all enterprises need
    4. Swift incorporates a lot of other object-oriented language ideas, not as closed as OC, learning Swift, and then other languages will be much easier
    5. Swift is also born from Apple, the overall process of development thinking and OC is the same.
7. Recommendations
    • Objective-c & Swift Comparative learning can have a deeper understanding of many of the underlying principles of Apple's implementation

The blog article belongs to the individual initiative, only for learning and communication use, strictly prohibited for commercial purposes, violators must investigate.

1.swift Introduction

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.