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
280
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
140
Combine! All the things
riteshhh
3
660
How to be a POP-Star
riteshhh
1
250
Thinking in Swift!
riteshhh
3
320
Other Decks in Programming
See All in Programming
Elm 0.19.0 Changes
bkuhlmann
0
490
『Railsオワコン』と言われる時代に、なぜブルーモ証券はRailsを選ぶのか
free_world21
0
250
Code Reviews
bkuhlmann
4
890
try!Swift Tokyo 2024 参加報告 LT
akidon0000
1
220
新宿ダンジョンを可視化してみた
satoshi7190
2
260
Ruby Function Composition
bkuhlmann
1
330
Goのmultiple errorsについて (2024年4月版)
syumai
4
900
Compose-View Interop in Practice (mDevCamp 2024)
stewemetal
0
140
Kotlin Multiplatform at Stable and Beyond (Android Makers 2024)
zsmb
0
270
GitHub Copilotのススメ
marcy731
1
200
Behind VS Code Extensions for JavaScript / TypeScript Linnting and Formatting
unvalley
5
920
dbtのドメイン分割による データ基盤の改善とDigdagとの連携
sakama
0
350
Featured
See All Featured
RailsConf 2023
tenderlove
4
540
Fontdeck: Realign not Redesign
paulrobertlloyd
76
4.9k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
226
51k
Bootstrapping a Software Product
garrettdimon
PRO
302
110k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
25
2.3k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
30
6k
KATA
mclloyd
15
12k
YesSQL, Process and Tooling at Scale
rocio
164
13k
How STYLIGHT went responsive
nonsquared
92
4.8k
Thoughts on Productivity
jonyablonski
58
3.8k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
9
8.3k
Navigating Team Friction
lara
178
13k
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