官术网_书友最值得收藏!

  • 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.

主站蜘蛛池模板: 华蓥市| 红安县| 包头市| 福清市| 杭州市| 平武县| 宝丰县| 改则县| 上饶县| 图木舒克市| 保山市| 满洲里市| 定日县| 乌拉特中旗| 垦利县| 武定县| 井陉县| 磐安县| 攀枝花市| 浦东新区| 宜都市| 措勤县| 达日县| 固镇县| 林州市| 中西区| 嘉荫县| 馆陶县| 柯坪县| 永登县| 略阳县| 临武县| 翁牛特旗| 中阳县| 壤塘县| 娄底市| 包头市| 张家界市| 喀喇沁旗| 青铜峡市| 临泉县|