Swift's Wiki
大家好,這個 wiki 用來整理基本的 Swift 的觀念、教學,會持續更新所學筆記!
資料來源
這個 wiki 主要的資訊來源是:
What is Swift?
什麼是 Swift? 在它的 網頁 上有著這麼一番敘述:
Swift is a new programming language for creating iOS and OS X apps. Swift builds on the best of C and Objective-C, without the constraints of C compatibility. Swift adopts safe programming patterns and adds modern features to make programming easier, more flexible, and more fun. Swift’s clean slate, backed by the mature and much-loved Cocoa and Cocoa Touch frameworks, is an opportunity to reimagine how software development works.
總而言之:它就是集合各個語言為一身的 新語言,從建立者的文章來看,Swift 包含了:
Objective-C, Rust, Haskell, Ruby, Python, C#, CLU, and far too many others to list.
神奇的地方在,Swift 寫起來很像是 Scripting Languages,但是它實際上是 Compiled Language,執行速度非常快。能夠同時保有 Scripting Languages 的靈活度,以及能保有 Compiled Language 的執行速度,真是太酷了!
此 wiki 的使用方式
如果是新手的話,此 wiki 建議照順序閱讀,章節之間會有關連,有的章節會繼承上一個章節的概念,因此照順序閱讀比較能理解在做什麼。
共同編輯
這個 wiki 平台可以讓 多人共同編輯,而且有整合 git 做版本控管,任何修改都會留下記錄。因此期望有其他人能參與編輯,團結力量大,讓這 Swift wiki 可以更完整,提供 iOS/Mac 的開發者們更多的資訊,有興趣的歡迎聯絡一下。
email: kros@osolve.com
Authors 編輯者
- Kros Huang - email: kros@osolve.com
進度
WWDC 2014 Session 402 翻譯完成
WWDC 2014 Session 403 翻譯中...
正在撰寫主題有:
- Closures
- Pattern Matching
更新事項 (2014/07/13)
由於在 XCode 6 beta 3,更新了語法,可以在這篇看到。因此更新部分 wiki 資料,以符合最新的語法。
轉載注意事項
- 禁止把本 wiki 內容,轉錄、擷取、複製到任何商業用途的地方。
- 歡迎轉載到其他網站,免費轉載,若要轉載內容請附上此 wiki 連結: http://swift.torchpad.com/
第一篇: Variable And String