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
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
作って学ぶ、 JSX (TSX) ランタイムの基本
syumai
7
1.5k
Moments When Things Go Wrong
aurimas
3
140
生成AI時代にこそ効くGo | Why Go Works in the Age of Generative AI
mom0tomo
8
3.1k
net-httpのHTTP/2対応について
naruse
0
420
Claspは野良GASの夢をみるか
takter00
0
160
Spec-Driven Development with AI-Agents: From High-Level Requirements to Working Software
antonarhipov
2
440
Modding RubyKaigi for Myself
yui_knk
0
870
次世代リンターで探る、tsgo 時代における型認識カスタムルールの現実解
ytakahashii
3
1.4k
Copilot CLI の継戦能力を高める コンテキスト管理
nozomutu
1
1.2k
JavaDoc 再入門
nagise
0
260
AIチームを指揮するOSS「TAKT」活用術 / How to Use “TAKT,” an OSS Tool for Orchestrating AI Teams
nrslib
6
800
ふつうのFeature Flag実践入門
irof
7
3.5k
Featured
See All Featured
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
260
How to Talk to Developers About Accessibility
jct
2
220
The Illustrated Children's Guide to Kubernetes
chrisshort
51
52k
Utilizing Notion as your number one productivity tool
mfonobong
4
310
Everyday Curiosity
cassininazir
0
220
Raft: Consensus for Rubyists
vanstee
141
7.5k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
280
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
1
2.7k
エンジニアに許された特別な時間の終わり
watany
107
250k
The World Runs on Bad Software
bkeepers
PRO
72
12k
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