- 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.
推薦閱讀
- 程序員面試算法寶典
- Learning AWS Lumberyard Game Development
- Access 2010數(shù)據(jù)庫基礎(chǔ)與應(yīng)用項(xiàng)目式教程(第3版)
- PostgreSQL Replication(Second Edition)
- iOS開發(fā)實(shí)戰(zhàn):從入門到上架App Store(第2版) (移動(dòng)開發(fā)叢書)
- Java系統(tǒng)化項(xiàng)目開發(fā)教程
- 第一行代碼 C語言(視頻講解版)
- Vue.js應(yīng)用測試
- OpenCV with Python Blueprints
- Spring Data JPA從入門到精通
- Learning Cocos2d-JS Game Development
- Offer來了:Java面試核心知識(shí)點(diǎn)精講(框架篇)
- Python計(jì)算機(jī)視覺與深度學(xué)習(xí)實(shí)戰(zhàn)
- AngularJS UI Development
- 計(jì)算機(jī)應(yīng)用基礎(chǔ)(Windows 7+Office 2010)