- 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.
- PHP動態網站程序設計
- Power Up Your PowToon Studio Project
- Android Studio Essentials
- HTML5 移動Web開發從入門到精通(微課精編版)
- HTML5+CSS3網站設計教程
- 你不知道的JavaScript(中卷)
- SharePoint Development with the SharePoint Framework
- Mathematica Data Analysis
- Mastering ROS for Robotics Programming
- Lighttpd源碼分析
- Multithreading in C# 5.0 Cookbook
- 大學計算機應用基礎(Windows 7+Office 2010)(IC3)
- SAP Web Dynpro for ABAP開發技術詳解:基礎應用
- 面向對象程序設計及C++(第3版)
- Learning Cocos2d-JS Game Development