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
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
壊れたパーサから始める関数型設計と構成的なパーサ #fp_matsuri
raiga0310
2
450
プロポーザルを書いてもらう
pvcresin
0
280
komatsuna「分散システムにおけるバグ分析手法」
komatsunaqa
0
240
ビデオ通話が繋がる0.2秒で何が起きているのか
supurazako
2
180
PHP初心者セッション2026 〜生成AIでは見えない裏側を知る:今だからLAMPを通して仕組みを学ぶ〜
kashioka
0
860
Apache Hive: Toward a Cloud Native Lakehouse
okumin
0
180
AI時代のPHPer生存戦略 ~「言語、もうなんでもよくない?」に本気で向き合う~
vivion
0
250
React本体のコードリーディング
high_g_engineer
1
140
【やさしく解説 設計編・中級 #6】良いアーキテクチャとは ~ 一本の登り道の、行き先 ~
panda728
PRO
0
210
ソフトウェア設計に溶けるインフラ ― AWS CDK のインフラ認識論
konokenj
3
760
Foundation Models frameworkで画像分析
ryodeveloper
1
600
今さら聞けない .NET CLI
htkym
0
180
Featured
See All Featured
Scaling GitHub
holman
464
140k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
4.2k
Product Roadmaps are Hard
iamctodd
55
12k
The browser strikes back
jonoalderson
0
1.5k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.2k
The SEO Collaboration Effect
kristinabergwall1
1
520
Visualization
eitanlees
152
17k
Building the Perfect Custom Keyboard
takai
2
830
The SEO identity crisis: Don't let AI make you average
varn
0
530
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.7k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
430
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