- Object–Oriented Programming with Swift 2
- Gastón C. Hillar
- 146字
- 2021-07-23 14:29:40
Summary
In this chapter, you learned how to recognize real-world elements and translate them into the different components of the object-oriented paradigm supported in Swift: classes, protocols, properties, methods, and instances. You understood that the classes represent blueprints or templates to generate the objects, also known as instances.
We designed a few classes with properties and methods that represent blueprints for real-life objects. Then, we improved the initial design by taking advantage of the power of abstraction and specialized different classes. We generated many versions of the initial UML diagram as we added superclasses and subclasses. Finally, we wrote some code in the Swift Playground to understand how we can interact with API objects.
Now that you have learned some of the basics of the object-oriented paradigm, we are ready to start creating classes and instances in Swift, which is the topic of the next chapter.
- Learn Blockchain Programming with JavaScript
- Mastering Zabbix(Second Edition)
- 編寫高質量代碼:改善Python程序的91個建議
- Swift 3 New Features
- C語言實驗指導及習題解析
- Java EE核心技術與應用
- Learning Unreal Engine Android Game Development
- 新一代SDN:VMware NSX 網絡原理與實踐
- Access 2010中文版項目教程
- HTML+CSS+JavaScript編程入門指南(全2冊)
- Android應用開發實戰
- OpenCV 3計算機視覺:Python語言實現(原書第2版)
- Test-Driven iOS Development with Swift
- Kotlin語言實例精解
- AngularJS by Example