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
Fun with Swift 4 KeyPaths
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
John Estropia
September 17, 2017
Technology
650
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Fun with Swift 4 KeyPaths
My Lightning Talk at iOSDC 2017 Japan
John Estropia
September 17, 2017
More Decks by John Estropia
See All by John Estropia
WWDC Party Intro to CoreStore
johnestropia
0
70
Making an Efficient Deploy Bot
johnestropia
0
450
Creating Keyboard Extensions
johnestropia
0
85
Making Sense of Neural Network Training
johnestropia
0
95
My journey taming Core Data: An intro to the CoreStore library
johnestropia
0
180
Pairs JP Team's iOS Deployment
johnestropia
0
970
Making Slackbots deploy iOS apps for you
johnestropia
2
240
OSSの作法(本題)
johnestropia
0
84
Other Decks in Technology
See All in Technology
GuardrailからGovernanceへ~AIエージェント運用の次の課題~
sbspsy
1
210
オブザーバビリティ、本当に活用できてる? 〜API連携×生成AIで成熟度を自動評価〜
dmmsre
0
890
打造你的 AI 工作流:Agent Skill + MCP 實戰工作坊
appleboy
0
670
DMM.com 購入改善推進チーム におけるCodeRabbitを用いた レビューフロー改善の一例
ysknsid25
1
250
AIDLC_ヤフーショッピングの取り組み
lycorptech_jp
PRO
0
550
ZOZOTOWNの進化と信頼性を両立する負荷試験
zozotech
PRO
0
130
Agentic AI 時代のテスト手法: Kiro とはじめるプロパティベーステスト (AWS Summit Japan 2026 | DEV212)
ymhiroki
0
210
次世代ランサムウェア対策の考察 / 20260704 Mitsutoshi Matsuo
shift_evolve
PRO
5
1.7k
Control Planeで育てるBtoB SaaSの認証基盤 - SRE NEXT 2026
pokohide
1
410
CIで使うClaude
iwatatomoya
0
100
記録をかんたんに、提案をパーソナルに ── AIであすけんが目指すもの
oprstchn
0
160
初めてのDatabricks勉強会
taka_aki
2
240
Featured
See All Featured
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
600
The Invisible Side of Design
smashingmag
301
52k
ラッコキーワード サービス紹介資料
rakko
1
3.8M
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
400
The browser strikes back
jonoalderson
0
1.4k
Bash Introduction
62gerente
615
220k
Rails Girls Zürich Keynote
gr2m
96
14k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
410
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.7k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.3k
Typedesign – Prime Four
hannesfritz
42
3.1k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
170
Transcript
Fun with Swift 4 KeyPaths iOSDC 2017 John Estropia
• @JohnEstropia • Senior Engineer @ • iOS։ൃ • OSS
ࣗݾհ http://github.com/JohnEstropia/CoreStore
Swift 4 Smart Keypaths
KVC: Before vs. After Swift 3 Swift 4
KVC: Before vs. After Swift 3 Swift 4
KVO: After Swift 4
Fun with Swift 4 KeyPaths
Predicates (Before)
͜ͷॻ͖ํ͕Ͱ͖Δͱ࠷ߴͰ͠ΐ͏ʁ
͜ͷॻ͖ํ͕Ͱ͖Δͱ࠷ߴͰ͠ΐ͏ʁ
KeyPath × Generics × Custom Operator
Custom Operator
KeyPath Generics
KeyPath Generics ͕͜͜Smartʂ
KeyPath→String
ൿີຐ๏property KeyPath→String
Nice Predicates
Sample: CoreStore ( prototype/queryBuilders branch )
Sample: CoreStore ( prototype/queryBuilders branch )
Ҏ্ɺThanks!
େืूதʂ