Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
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
450
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
190
Combine! All the things
riteshhh
3
700
How to be a POP-Star
riteshhh
1
380
Thinking in Swift!
riteshhh
3
440
Other Decks in Programming
See All in Programming
nilとは何か 〜interfaceの構造とnil!=nilから理解する〜
kuro_kurorrr
3
1.6k
Railsの気持ちを考えながらコントローラとビューを整頓する/tidying-rails-controllers-and-views-as-rails-think
moro
4
370
AHC061解説
shun_pi
0
300
CSC307 Lecture 12
javiergs
PRO
0
450
Go Conference mini in Sendai 2026 : Goに新機能を提案し実装されるまでのフロー徹底解説
yamatoya
0
510
Go 1.26でのsliceのメモリアロケーション最適化 / Go 1.26 リリースパーティ #go126party
mazrean
1
330
CSC307 Lecture 13
javiergs
PRO
0
310
PJのドキュメントを全部Git管理にしたら、一番喜んだのはAIだった
nanaism
0
230
Claude Codeセッション現状確認 2026福岡 / fukuoka-aicoding-00-beacon
monochromegane
3
380
ベクトル検索のフィルタを用いた機械学習モデルとの統合 / python-meetup-fukuoka-06-vector-attr
monochromegane
2
230
CSC307 Lecture 14
javiergs
PRO
0
450
izumin5210のプロポーザルのネタ探し #tskaigi_msup
izumin5210
1
510
Featured
See All Featured
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
1
1.4k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4k
Believing is Seeing
oripsolob
1
68
Reality Check: Gamification 10 Years Later
codingconduct
0
2k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
180
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.4k
How to train your dragon (web standard)
notwaldorf
97
6.5k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
300
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
YesSQL, Process and Tooling at Scale
rocio
174
15k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
450
A Tale of Four Properties
chriscoyier
162
24k
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