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
おしん
April 18, 2025
Technology
1
130
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
国井さんにPurview の話を聞く会
sophiakunii
1
330
Data Hubグループ 紹介資料
sansan33
PRO
0
2.5k
re:Invent2025 セッションレポ ~Spec-driven development with Kiro~
nrinetcom
PRO
2
170
_第4回__AIxIoTビジネス共創ラボ紹介資料_20251203.pdf
iotcomjpadmin
0
170
AI駆動開発ライフサイクル(AI-DLC)の始め方
ryansbcho79
0
300
善意の活動は、なぜ続かなくなるのか ーふりかえりが"構造を変える判断"になった半年間ー
matsukurou
0
280
プロンプトエンジニアリングを超えて:自由と統制のあいだでつくる Platform × Context Engineering
yuriemori
0
160
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
12k
Bedrock AgentCore Evaluationsで学ぶLLM as a judge入門
shichijoyuhi
2
320
AIエージェントを5分で一気におさらい!AIエージェント「構築」元年に備えよう
yakumo
1
140
[PR] はじめてのデジタルアイデンティティという本を書きました
ritou
0
770
Node vs Deno vs Bun 〜推しランタイムを見つけよう〜
kamekyame
1
260
Featured
See All Featured
What the history of the web can teach us about the future of AI
inesmontani
PRO
0
390
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
120
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
0
400
Believing is Seeing
oripsolob
0
19
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.8k
How STYLIGHT went responsive
nonsquared
100
6k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
130
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.1k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
97
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
10
780
Crafting Experiences
bethany
0
25
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.3k
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:それ以外
おわり
パディング値のように、 固定値がデフォルト引数になっているものは 分かりにくくなりがちなので、 極力省略せず書く メッセージ
ありがとうございました!