首页 > 其他 > 详细

Welcome to Swift

时间:2014-07-08 22:12:43      阅读:436      评论:0      收藏:0      [点我收藏+]

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

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!