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
Swift UI デフォルト引数クイズ
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
おしん
April 18, 2025
Technology
1
140
Swift UI デフォルト引数クイズ
mobile.stmn#11での発表資料です。
おしん
April 18, 2025
Tweet
Share
More Decks by おしん
See All by おしん
モバイルアプリへのRemoteConfigの恩恵
shincarpediem
2
120
よりアプリらしさを出すために
shincarpediem
1
130
Concurrency Warningが 沢山出たから聞いてほしい ~Xcode 16.1 Beta 編~
shincarpediem
1
230
iOSのPhoto Libraryアクセス権限を見直してみよう
shincarpediem
1
230
SwiftUI登場前のVIPERアプリでもSwiftUIをスムーズに導入できた話
shincarpediem
3
1.7k
VIPERアプリにSwiftUIを導入してみた
shincarpediem
1
430
Other Decks in Technology
See All in Technology
日本語テキストと音楽の対照学習の技術とその応用
lycorptech_jp
PRO
1
300
Claude Codeベストプラクティスまとめ
minorun365
50
28k
AI推進者の視点で見る、Bill OneのAI活用の今
sansantech
PRO
1
160
Lambda Durable FunctionsでStep Functionsの代わりはできるのかを試してみた
smt7174
2
150
Vitest Highlights in Angular
rainerhahnekamp
0
110
AWSと暗号技術
nrinetcom
PRO
1
180
The Engineer with a Three-Year Cycle - 2
e99h2121
0
190
ドメイン駆動セキュリティへの道しるべ
pandayumi
0
180
2026年はチャンキングを極める!
shibuiwilliam
7
1.3k
Vivre en Bitcoin : le tutoriel que votre banquier ne veut pas que vous voyiez
rlifchitz
0
370
BPaaSオペレーション・kubell社内 n8n活用による効率化検証事例紹介
kentarofujii
0
310
GCASアップデート(202510-202601)
techniczna
0
180
Featured
See All Featured
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
150
Leading Effective Engineering Teams in the AI Era
addyosmani
9
1.5k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
85
Product Roadmaps are Hard
iamctodd
PRO
55
12k
How STYLIGHT went responsive
nonsquared
100
6k
Between Models and Reality
mayunak
1
170
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
810
Into the Great Unknown - MozCon
thekraken
40
2.2k
The Cult of Friendly URLs
andyhume
79
6.8k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.8k
WCS-LA-2024
lcolladotor
0
430
Transcript
Swift UI デフォルト引数クイズ おしん(@38Punkd)
先週あったイベントと言えば...?
None
None
None
Swift UI の便利なモディファイアを たくさん知れた!!
None
Swift UI のモディファイアについて もっと知りたい!
モディファイアの デフォルト引数クイズ やります!
Q1 全ての辺に〇ptのパディング? A:2 B:4 C:8 D:16
Q1 全ての辺に〇ptのパディング? A:2 B:4 C:8 D:16
Q2 どういうサイズになる? A:何も変わらない B:高さ、幅ともに0になる C:コンパイルエラー D:広がれるだけ広がる
Q2 どういうサイズになる? A:何も変わらない B:高さ、幅ともに0になる C:コンパイルエラー D:広がれるだけ広がる
Q3 透明度はいくつ? A:1(0%) B:0.5(50%) C:0(100%) D:コンパイルエラー
Q3 透明度はいくつ? A:1(0%) B:0.5(50%) C:0(100%) D:コンパイルエラー
Q4 2つのテキストの隙間は◯pt? A:0 B:4 C:8 D:16
Q4 2つのテキストの隙間は◯pt? A:0 B:4 C:8(使っているフォントや環境によって少し変わることもある) D:16
Q5 2つのテキストの隙間は◯pt? A:8 B:16 C:24 D:それ以外
Q5 2つのテキストの隙間は◯pt? A:8 B:16 C:24 D:それ以外
おわり
パディング値のように、 固定値がデフォルト引数になっているものは 分かりにくくなりがちなので、 極力省略せず書く メッセージ
ありがとうございました!