码迷,mamicode.com
首页 > 其他好文 > 详细

Welcome to Swift

时间:2014-07-08 22:13:00      阅读:228      评论:0      收藏:0      [点我收藏+]

标签:des   http   使用   os   art   cti   

Swift is a new object-oriented programming language for iOS and OS X development. Swift is modern, powerful, and easy to use.这是苹果官方网站上Swift的第一句寄语,这句话的意思Swift是一门用于IOS和OS X 的面向对象编程语言。它是最新的,强大的,并且容易使用的语言。

按它这么说,苹果肯定是主推Swift的,并且出来不到一个月,就蹦到语言类排名的16名了,前景一片大好啊。

1.safe

     Swift pairs increased type safety with type inference, restricts direct access to pointers, and automatically manages memory—making it easy to create secure, stable software.

2.modern

     Swift includes optionals, generics, tuples, and other modern language features. Inspired by and improving upon Objective-C, Swift code feels natural to read and write.

3.powerful

    Take advantage of powerful pattern matching in Swift to write simple, expressive code. Format strings naturally with string interpolation. Use frameworks like Foundation and UIKit directly from Swift.

4.interactive

    Use playgrounds to experiment with new technologies, analyze problems, and prototype user interfaces.

5.fast

    The Swift compiler applies advanced code analysis to tune your code for performance, letting you focus on writing great apps instead of on implementing complex optimizations.

https://developer.apple.com/library/prerelease/ios/referencelibrary/GettingStarted/LandingPage/index.html#//apple_ref/doc/uid/TP40014345

 

Welcome to Swift,布布扣,bubuko.com

Welcome to Swift

标签:des   http   使用   os   art   cti   

原文地址:http://www.cnblogs.com/royi123/p/3830643.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!