Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Deep dive into Protocols
Search
Ritesh Gupta
July 05, 2017
Programming
1
430
Deep dive into Protocols
Ritesh Gupta
July 05, 2017
Tweet
Share
More Decks by Ritesh Gupta
See All by Ritesh Gupta
Declarative Networking with Combine –– iOS Conf SG 2020
riteshhh
0
180
Combine! All the things
riteshhh
3
700
How to be a POP-Star
riteshhh
1
360
Thinking in Swift!
riteshhh
3
420
Other Decks in Programming
See All in Programming
connect-python: convenient protobuf RPC for Python
anuraaga
0
370
WebRTC と Rust と8K 60fps
tnoho
2
1.9k
チームをチームにするEM
hitode909
0
250
AIコーディングエージェント(Gemini)
kondai24
0
180
【CA.ai #3】Google ADKを活用したAI Agent開発と運用知見
harappa80
0
290
愛される翻訳の秘訣
kishikawakatsumi
1
270
堅牢なフロントエンドテスト基盤を構築するために行った取り組み
shogo4131
8
2.1k
AIコーディングエージェント(Manus)
kondai24
0
150
How Software Deployment tools have changed in the past 20 years
geshan
0
28k
Full-Cycle Reactivity in Angular: SignalStore mit Signal Forms und Resources
manfredsteyer
PRO
0
190
ハイパーメディア駆動アプリケーションとIslandアーキテクチャ: htmxによるWebアプリケーション開発と動的UIの局所的適用
nowaki28
0
360
【Streamlit x Snowflake】データ基盤からアプリ開発・AI活用まで、すべてをSnowflake内で実現
ayumu_yamaguchi
1
110
Featured
See All Featured
A better future with KSS
kneath
240
18k
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
[SF Ruby Conf 2025] Rails X
palkan
0
470
For a Future-Friendly Web
brad_frost
180
10k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
120
20k
Why Our Code Smells
bkeepers
PRO
340
57k
How GitHub (no longer) Works
holman
316
140k
Making Projects Easy
brettharned
120
6.5k
GraphQLの誤解/rethinking-graphql
sonatard
73
11k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.3k
Art, The Web, and Tiny UX
lynnandtonic
303
21k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.3k
Transcript
deep dive into Protocols (Swift Delhi Meetup, Chapter 3) ~
Ritesh Gupta
`Protocol-Oriented Programming in Swift` https://developer.apple.com/videos/play/wwdc2015/408/ WWDC - 2015
`Protocol and Value Oriented Programming in UIKit Apps` https://developer.apple.com/videos/play/wwdc2016/419/ WWDC
- 2016
None
None
None
playground demos..
protocol ->
protocol -> protocol extension ->
protocol -> protocol extension -> protocol constrained extension ->
self (refers to the `object`) vs Self (refers to the
`type` that conforms to a protocol)
https://krakendev.io/blog/generic-protocols-and-their- shortcomings http://austinzheng.com/2015/09/29/swift-generics-pt-2/ http://www.russbishop.net/swift-associated-types
protocol is not a silver bullet.. http://chris.eidhof.nl/post/protocol-oriented-programming/
None