- Swift 4 Programming Cookbook
- Keith Moon
- 68字
- 2021-07-08 10:21:29
Protocols
Protocols are a way to describe the interface that a type provides; they can be thought of as a contract, defining how you can interact with instances of that type. They are a great way to abstract the "what" something does from "how" it does it. As we will see in the subsequent chapters, Swift adds functionalities to protocols, which make them even more useful and powerful.
推薦閱讀
- Facebook Application Development with Graph API Cookbook
- Spring 5.0 Microservices(Second Edition)
- Kibana Essentials
- Spring Boot+Spring Cloud+Vue+Element項目實戰(zhàn):手把手教你開發(fā)權(quán)限管理系統(tǒng)
- Magento 2 Development Cookbook
- NativeScript for Angular Mobile Development
- Python Data Structures and Algorithms
- Learning AngularJS for .NET Developers
- Java SE實踐教程
- Oracle GoldenGate 12c Implementer's Guide
- Python:Deeper Insights into Machine Learning
- GitHub入門與實踐
- Android移動應用開發(fā)項目教程
- C#面向?qū)ο蟪绦蛟O計(第2版)
- 3D Printing Designs:The Sun Puzzle