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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Ritesh Gupta
July 05, 2017
Programming
470
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Deep dive into Protocols
Ritesh Gupta
July 05, 2017
More Decks by Ritesh Gupta
See All by Ritesh Gupta
Declarative Networking with Combine –– iOS Conf SG 2020
riteshhh
0
200
Combine! All the things
riteshhh
3
710
How to be a POP-Star
riteshhh
1
410
Thinking in Swift!
riteshhh
3
460
Other Decks in Programming
See All in Programming
高専、大学編入、そして未踏へ〜プロダクト開発とキャリアの歩み - Technical College, University Transfer, and On to “Mitou” / My Journey in Product Development and Career
pkmiya
0
130
XP祭りでしか伝わらないフリップネタ #xpjug
murabayashi
0
110
Gmail/Google DriveをトリガーにAIエージェントを動かそう! / Run AI agents with Gmail/Google Drive as triggers!
har1101
3
460
AIと壁打ちしながら進めるコスト管理
fufuhu
2
1.9k
AIエージェント時代のコードレビューを設計する
nogu66
5
2.5k
【デモ】Kiroで体験する仕様駆動開発|設計からコーディングまでAIと進める開発フロー
cmkudo
0
570
Flow は今どうなっているか
mizdra
PRO
0
900
kubernetes コンポーネント開発入門 / 新卒N年目の勉強会&交流会!〜〇〇への誘い〜 #n_study
mazrean
0
160
業務時間外もAIに働いてもらう話
colorful12
3
9.9k
20260828_品質と開発生産性を両立させる、AI時代のE2Eテストの考え方
magicpod
0
130
이 함수, 실패하면 어떻게 되나요? null부터 Rich Errors까지, Kotlin 에러 처리 15년
haeti2
0
130
ハーネス設計入門 〜プロンプト、コンテキストの次〜
kinopeee
53
35k
Featured
See All Featured
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
370
Evolving SEO for Evolving Search Engines
ryanjones
0
280
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
310
Fireside Chat
paigeccino
42
4k
Code Review Best Practice
trishagee
74
20k
Fashionably flexible responsive web design (full day workshop)
malarkey
408
67k
Heart Work Chapter 1 - Part 1
lfama
PRO
8
36k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
1
390
Discover your Explorer Soul
emna__ayadi
2
1.3k
Un-Boring Meetings
codingconduct
0
410
The Invisible Side of Design
smashingmag
301
52k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
570
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