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
Erica Sadun
February 03, 2020
Programming
0
3.4k
Introducing Swift 5's Property Wrappers
A brand new feature waiting for adoption
Erica Sadun
February 03, 2020
Tweet
Share
Other Decks in Programming
See All in Programming
品質が高いコードって何?Rev2.1
ickx
1
490
ISUCONってなんだか難しそう……!!でも、初めてのISUCONにPHPで挑戦してきました!
kotomin_m
1
300
マイ隙間家具OSSたちのご紹介
karupanerura
2
150
BuefyのMaintainerを引き継いだ件
kikuomax
0
520
今の SmartHR にエンジニアで入社するとどうなるの?
daisukeshinoku
1
300
ここ1~2年くらいで 使えるようになった(主要ブラウザーの最新版 がすべて対応した ) ウェブの新機能について ランダムに喋る!
myzkyy
9
6.5k
WebComponentsで フレームワークを1ページに共存させる
webuilder240
0
150
Deep Dive 大規模システムアーキテクチャ/開発組織エンジニアリング / Deep Dive Large-Scale System Architecture, Development Organization Engineering
nrslib
15
2.9k
Understanding Ast By Looking
inouehi
0
120
OpenAPI を守るのは難しい
ohmori_yusuke
1
140
DDDはなぜ難しいのか / 良いコードの定義と設計能力の壁
pospome
24
7.3k
PHPでOfficeファイルを取り扱う! PHP Officeライブラリを プロダクトに組み込んだ話
hirobe1999
0
840
Featured
See All Featured
Thoughts on Productivity
jonyablonski
57
3.8k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
39
4.3k
WebSockets: Embracing the real-time Web
robhawkes
59
6.9k
StorybookのUI Testing Handbookを読んだ
zakiyama
10
4.5k
Happy Clients
brianwarren
91
6.3k
Designing with Data
zakiwarfel
94
4.8k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
124
32k
How to Ace a Technical Interview
jacobian
272
22k
Six Lessons from altMBA
skipperchong
19
2.9k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
242
20k
Building Your Own Lightsaber
phodgson
97
5.6k
How To Stay Up To Date on Web Technology
chriscoyier
781
250k
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