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.5k
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
速いWebフレームワークを作る
yusukebe
5
1.7k
AIと私たちの学習の変化を考える - Claude Codeの学習モードを例に
azukiazusa1
8
3.5k
パッケージ設計の黒魔術/Kyoto.go#63
lufia
3
430
ProxyによるWindow間RPC機構の構築
syumai
3
1.1k
はじめてのMaterial3 Expressive
ym223
2
250
HTMLの品質ってなんだっけ? “HTMLクライテリア”の設計と実践
unachang113
4
2.7k
Android端末で実現するオンデバイスLLM 2025
masayukisuda
1
120
時間軸から考えるTerraformを使う理由と留意点
fufuhu
15
4.6k
AI時代のUIはどこへ行く?
yusukebe
17
8.7k
複雑なドメインに挑む.pdf
yukisakai1225
5
1.1k
Namespace and Its Future
tagomoris
6
700
知っているようで知らない"rails new"の世界 / The World of "rails new" You Think You Know but Don't
luccafort
PRO
1
100
Featured
See All Featured
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3.1k
Java REST API Framework Comparison - PWX 2021
mraible
33
8.8k
Documentation Writing (for coders)
carmenintech
74
5k
Building an army of robots
kneath
306
46k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
50k
What's in a price? How to price your products and services
michaelherold
246
12k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Testing 201, or: Great Expectations
jmmastey
45
7.6k
GraphQLとの向き合い方2022年版
quramy
49
14k
Rails Girls Zürich Keynote
gr2m
95
14k
Fireside Chat
paigeccino
39
3.6k
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