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
Introducing Swift 5's Property Wrappers
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Erica Sadun
February 03, 2020
Programming
3.5k
0
Share
Introducing Swift 5's Property Wrappers
A brand new feature waiting for adoption
Erica Sadun
February 03, 2020
Other Decks in Programming
See All in Programming
関係性から理解する"同一性"の型用語たち
pvcresin
2
630
TAKTでAI駆動開発の品質を設計する
j5ik2o
5
680
inferと仲良くなる10分間
ryokatsuse
1
360
エージェンティックRAGにAWSで入門しよう!
har1101
5
110
Lessons from Spec-Driven Development
simas
PRO
0
130
OSもどきOS
arkw
0
400
タクシーアプリ『GO』の バックエンド開発のおける AI利活用と若者のすべて
pyama86
3
1.8k
密結合なバックエンドから TypeScript のコードを生成する
kemuridama
1
690
Make SRE Operations Easier with Azure SRE Agent
kkamegawa
0
3.3k
ふつうのFeature Flag実践入門
irof
7
3.5k
ADKを使って簡単にAIエージェントを作ってみよう
k1mu21
0
180
RTSPクライアントを自作してみた話
simotin13
0
440
Featured
See All Featured
For a Future-Friendly Web
brad_frost
183
10k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.9k
Deep Space Network (abreviated)
tonyrice
0
160
Test your architecture with Archunit
thirion
1
2.3k
Designing for humans not robots
tammielis
254
26k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
The Cult of Friendly URLs
andyhume
79
6.9k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
380
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
320
Balancing Empowerment & Direction
lara
6
1.1k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
150
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
200
Transcript
Property Wrappers erica sadun 1
Language-like but not Language 2
Language-like but not Language 3
Operators 4
5
6
Trailing closures 7
None
None
SwiftUI 10
None
None
None
Property Wrappers: History 14
Property Wrappers: History 15
Property Wrappers: History 16
None
18
None
My First Property Wrapper 20
String Trimming 21
22
None
Mandate your behavior contracts at the point of declaration, not
the point of use 24
25 Mandate your behavior contracts at the point of declaration,
not the point of use
None
None
None
‣ Simple ‣ Readable ‣ Positioned at the point of
declaration ‣ Documention-friendly
Uses ‣ Thread safety ‣ Barriers ‣ Syncing with stores
/ web services ‣ Validation on assignment ‣ Data configuration ‣ etc 30
Property Wrappers: Tastes like core language. Less filling. Fewer calories.
31
Property Wrappers erica sadun 32