Basic Swift syntax (1): Basic swift syntax

Source: Internet
Author: User

Basic Swift syntax (1): Basic swift syntax

Swift is a new programming language used to write iOS and OS X applications. Swift combines the advantages of C and Objective-C and is not limited by C compatibility. Swift adopts a secure programming mode and adds many new features, which makes programming simpler, more flexible, and more interesting. Swift is based on mature and popular Cocoa and Cocoa Touch frameworks and will redefine software development. Swift, released by Apple at the 2014 WWDC (Apple Developer Conference), can run with Objective-C on Mac OS and iOS platforms to build applications based on the Apple platform.

Swift is an easy-to-learn and easy-to-use programming language, and it is also the first system programming language with the same performance and fun as the scripting language. Swift's design is based on security to avoid a variety of common programming error categories.

In December 4, 2015, Apple announced that its Swift programming language is now open source code.

It is convenient to use Playground when learning the Swift syntax. Input on the left and value on the right.

 

 

 

 

 

 

 

 

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.