- Swift 2 By Example
- Giordano Scalzo
- 172字
- 2021-07-16 12:45:43
Summary
This was a really dense chapter because we squeezed in content that usually needs at least a book to explain properly in only tens of pages.
We took a quick look at Swift and its capabilities, starting from the definitions of variables and constants and then how to define the control flow. After that, we moved on to structs and classes, seeing how they are similar in some ways but profoundly different as philosophies. Finally, we explored the new features of Swift 2.0, how to create simple objects for complex problems, and how to exploit functional patterns to build more readable programs.
Of course, simply after reading this chapter, nobody can be considered an expert in Swift. However, the information here is enough to let you understand all of the code we'll be using in the upcoming chapters to build several kinds of apps.
In the next chapter, we'll continue to explore Swift and iOS, and, finally, we'll implement a simple iOS app to start to understand how the environment works.
- MySQL高可用解決方案:從主從復(fù)制到InnoDB Cluster架構(gòu)
- 數(shù)據(jù)要素安全流通
- 程序員修煉之道:從小工到專家
- 數(shù)據(jù)庫應(yīng)用基礎(chǔ)教程(Visual FoxPro 9.0)
- 達(dá)夢數(shù)據(jù)庫性能優(yōu)化
- 企業(yè)級數(shù)據(jù)與AI項(xiàng)目成功之道
- ZeroMQ
- 數(shù)據(jù)庫原理與應(yīng)用
- SAS金融數(shù)據(jù)挖掘與建模:系統(tǒng)方法與案例解析
- Web Services Testing with soapUI
- Python 3爬蟲、數(shù)據(jù)清洗與可視化實(shí)戰(zhàn)
- Access 2016數(shù)據(jù)庫應(yīng)用基礎(chǔ)
- 從Lucene到Elasticsearch:全文檢索實(shí)戰(zhàn)
- 大數(shù)據(jù)技術(shù)體系詳解:原理、架構(gòu)與實(shí)踐
- Oracle 內(nèi)核技術(shù)揭密