- 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.
- 數(shù)據(jù)存儲(chǔ)架構(gòu)與技術(shù)
- 數(shù)據(jù)產(chǎn)品經(jīng)理高效學(xué)習(xí)手冊(cè):產(chǎn)品設(shè)計(jì)、技術(shù)常識(shí)與機(jī)器學(xué)習(xí)
- Python金融大數(shù)據(jù)分析(第2版)
- 新型數(shù)據(jù)庫(kù)系統(tǒng):原理、架構(gòu)與實(shí)踐
- 商業(yè)分析思維與實(shí)踐:用數(shù)據(jù)分析解決商業(yè)問(wèn)題
- 數(shù)亦有道:Python數(shù)據(jù)科學(xué)指南
- 基于OPAC日志的高校圖書(shū)館用戶信息需求與檢索行為研究
- Gideros Mobile Game Development
- openGauss數(shù)據(jù)庫(kù)核心技術(shù)
- 大數(shù)據(jù)測(cè)試技術(shù):數(shù)據(jù)采集、分析與測(cè)試實(shí)踐(在線實(shí)驗(yàn)+在線自測(cè))
- AndEngine for Android Game Development Cookbook
- 大數(shù)據(jù)技術(shù)體系詳解:原理、架構(gòu)與實(shí)踐
- 標(biāo)簽類(lèi)目體系:面向業(yè)務(wù)的數(shù)據(jù)資產(chǎn)設(shè)計(jì)方法論
- 量化投資:交易模型開(kāi)發(fā)與數(shù)據(jù)挖掘
- Kafka權(quán)威指南(第2版)