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
310
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
150
Combine! All the things
riteshhh
3
670
How to be a POP-Star
riteshhh
1
270
Thinking in Swift!
riteshhh
3
330
Other Decks in Programming
See All in Programming
Exploring the Gradually Lost Technical Skills in the Cloud Native Era
hwchiu
2
3.9k
유연한 Composable 설계
l2hyunwoo
0
380
小さな開発会社を作った理由
polidog
0
1.9k
CSC307 Lecture 13
javiergs
PRO
0
150
Architectures with Lightweight Stores: New Rules and Options
manfredsteyer
PRO
0
100
【Go言語】golangci-lintの使い方
tomo1227
0
270
実用的かつリーズナブルな 「Azure × Gemini × LINE」~キャラクターBot 実装ライブデモ~
tomodo_ysys
1
170
スクラムマスターって孤独じゃないですか?
yoshitaroyoyo
1
140
Ruby メモリ管理 プログラミング
megmogmog1965
0
130
Mastering Developer Experience: A Roadmap for Success 【開発生産性Conference 2024】
findyinc
1
380
ドメイン駆動設計の実践
masuda220
PRO
17
5.1k
20240706_CDKConf
takuyay0ne
0
1.2k
Featured
See All Featured
Teambox: Starting and Learning
jrom
130
8.6k
The MySQL Ecosystem @ GitHub 2015
samlambert
248
12k
GraphQLとの向き合い方2022年版
quramy
36
13k
Building Your Own Lightsaber
phodgson
101
5.9k
Making the Leap to Tech Lead
cromwellryan
127
8.7k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
277
13k
Raft: Consensus for Rubyists
vanstee
134
6.5k
Six Lessons from altMBA
skipperchong
24
3.2k
GitHub's CSS Performance
jonrohan
1026
450k
Fireside Chat
paigeccino
25
2.8k
The Mythical Team-Month
searls
217
43k
Fantastic passwords and where to find them - at NoRuKo
philnash
42
2.7k
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