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
430
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
180
Combine! All the things
riteshhh
3
690
How to be a POP-Star
riteshhh
1
360
Thinking in Swift!
riteshhh
3
420
Other Decks in Programming
See All in Programming
Vueで学ぶデータ構造入門 リンクリストとキューでリアクティビティを捉える / Vue Data Structures: Linked Lists and Queues for Reactivity
konkarin
1
150
NIKKEI Tech Talk#38
cipepser
0
430
MCPサーバー「モディフィウス」で変更容易性の向上をスケールする / modifius
minodriven
7
1.3k
CSC509 Lecture 08
javiergs
PRO
0
280
詳細の決定を遅らせつつ実装を早くする
shimabox
1
960
外接に惑わされない自システムの処理時間SLIをOpenTelemetryで実現した話
kotaro7750
0
230
Temporal Knowledge Graphで作る! 時間変化するナレッジを扱うAI Agentの世界
po3rin
5
1.3k
AIを駆使して新しい技術を効率的に理解する方法
nogu66
0
460
contribution to astral-sh/uv
shunsock
0
590
Nitro v3
kazupon
2
230
coconala_slide_pop.pdf
yukihito13
0
290
なんでRustの環境構築してないのにRust製のツールが動くの? / Why Do Rust-Based Tools Run Without a Rust Environment?
ssssota
15
48k
Featured
See All Featured
4 Signs Your Business is Dying
shpigford
186
22k
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.7k
Building Adaptive Systems
keathley
44
2.8k
RailsConf 2023
tenderlove
30
1.3k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.2k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
2.9k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
36
6.1k
Being A Developer After 40
akosma
91
590k
The Language of Interfaces
destraynor
162
25k
Product Roadmaps are Hard
iamctodd
PRO
55
12k
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