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
180
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
95
Combine! All the things
riteshhh
3
590
How to be a POP-Star
riteshhh
1
160
Thinking in Swift!
riteshhh
3
240
Other Decks in Programming
See All in Programming
10年以上続くプロダクトの フロントエンド刷新プロジェクトのふりかえり
yotahada3
2
360
Git Rebase
bkuhlmann
10
1.2k
なぜRubyコミュニティにコミットするのか?
luccafort
0
340
TokyoR#103_DataProcessing
kilometer
0
550
CPU/GPU高速化セミナー 浮動小数点から文字列への高速変換の論文を読んでみた / cpugpu acceleration seminar 20230201
fixstars
0
110
T3 Stack and TypeScript ecosystem
quramy
3
810
2023年にクル(かもしれない)通信ミドルウェア技術(仮)
s_hosoai
0
220
OSSから学んだPR Descriptionの書き方
fugakkbn
4
140
xarray-Datatree: Hierarchical Data Structures for Multi-Model Science
tomnicholas
0
240
Enumを自動で網羅的にテストしてみた
estie
0
1.4k
CDKでValidationする本当の方法 / cdk-validation
gotok365
1
260
(新米)エンジニアリングマネージャーのしごと #RSGT2023
murabayashi
9
6k
Featured
See All Featured
Designing with Data
zakiwarfel
91
4.2k
Building Your Own Lightsaber
phodgson
96
4.9k
Facilitating Awesome Meetings
lara
33
4.6k
A Modern Web Designer's Workflow
chriscoyier
689
180k
BBQ
matthewcrist
75
8.1k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
657
120k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
351
21k
Ruby is Unlike a Banana
tanoku
93
9.6k
Into the Great Unknown - MozCon
thekraken
2
310
GraphQLとの向き合い方2022年版
quramy
20
9.9k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
2
410
Code Reviewing Like a Champion
maltzj
508
38k
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