Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
Deep dive into Protocols
Ritesh Gupta
July 05, 2017
Programming
1
140
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
91
Combine! All the things
riteshhh
3
550
How to be a POP-Star
riteshhh
1
130
Thinking in Swift!
riteshhh
3
190
Other Decks in Programming
See All in Programming
You CANt teach an old dog new tricks
michaelbukachi
0
120
Named Document って何?
harunakano
0
560
Explore Java 17 and beyond
josepaumard
3
670
機能横断型チームにおける技術改善
takeshiakutsu
3
500
Cloud-Conference-Day-Spring Cloud + Spring Webflux: como desenvolver seu primeiro microsserviço reativo em Java?
kamilahsantos
1
150
heyにおけるSREの大切さ~マルチプロダクト運用の「楽しさ」と「難しさ」および今後の展望~
fufuhu
3
2.1k
Quartoを使ってみませんか / quarto_get_started
s_uryu
2
400
A technique to implement DSL in Ruby
okuramasafumi
0
820
近況PHP / PHP in now a days
uzulla
4
1.9k
不具合に立ち向かう テスト戦略 ~ NestJSで作るCI環境 ~
naoki_haba
0
120
SRE NEXT 2022: Sensible Incident Management for Software Startups
takanabe
2
690
코드 품질 1% 올리기
pluu
1
1k
Featured
See All Featured
Designing Dashboards & Data Visualisations in Web Apps
destraynor
224
49k
Ruby is Unlike a Banana
tanoku
91
9.2k
A Modern Web Designer's Workflow
chriscoyier
689
180k
Done Done
chrislema
174
14k
The Cult of Friendly URLs
andyhume
68
4.7k
Pencils Down: Stop Designing & Start Developing
hursman
112
9.8k
Navigating Team Friction
lara
175
11k
10 Git Anti Patterns You Should be Aware of
lemiorhan
638
52k
How to Ace a Technical Interview
jacobian
265
21k
A Tale of Four Properties
chriscoyier
149
20k
Bootstrapping a Software Product
garrettdimon
295
110k
Documentation Writing (for coders)
carmenhchung
48
2.5k
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