- 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 ROS for Robotics Programming(Second Edition)
- 新一代通用視頻編碼H.266/VVC:原理、標(biāo)準(zhǔn)與實(shí)現(xiàn)
- INSTANT Sencha Touch
- HTML5游戲開發(fā)案例教程
- Windows Presentation Foundation Development Cookbook
- CouchDB and PHP Web Development Beginner’s Guide
- 深入淺出RxJS
- 精通網(wǎng)絡(luò)視頻核心開發(fā)技術(shù)
- PhoneGap:Beginner's Guide(Third Edition)
- PLC應(yīng)用技術(shù)(三菱FX2N系列)
- Visual Basic程序設(shè)計(jì)教程
- Python語言實(shí)用教程
- 從Power BI到Analysis Services:企業(yè)級(jí)數(shù)據(jù)分析實(shí)戰(zhàn)
- Python Machine Learning Blueprints:Intuitive data projects you can relate to
- Java7程序設(shè)計(jì)入門經(jīng)典