標籤: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