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
100
Swift UI デフォルト引数クイズ
mobile.stmn#11での発表資料です。
おしん
April 18, 2025
Tweet
Share
More Decks by おしん
See All by おしん
モバイルアプリへのRemoteConfigの恩恵
shincarpediem
2
82
よりアプリらしさを出すために
shincarpediem
1
100
Concurrency Warningが 沢山出たから聞いてほしい ~Xcode 16.1 Beta 編~
shincarpediem
1
200
iOSのPhoto Libraryアクセス権限を見直してみよう
shincarpediem
1
210
SwiftUI登場前のVIPERアプリでもSwiftUIをスムーズに導入できた話
shincarpediem
3
1.6k
VIPERアプリにSwiftUIを導入してみた
shincarpediem
1
410
Other Decks in Technology
See All in Technology
20250910_障害注入から効率的復旧へ_カオスエンジニアリング_生成AIで考えるAWS障害対応.pdf
sh_fk2
3
200
Automating Web Accessibility Testing with AI Agents
maminami373
0
1.2k
人工衛星のファームウェアをRustで書く理由
koba789
11
6.6k
Platform開発が先行する Platform Engineeringの違和感
kintotechdev
4
540
5分でカオスエンジニアリングを分かった気になろう
pandayumi
0
180
落ちる 落ちるよ サーバーは落ちる
suehiromasatoshi
0
150
OCI Oracle Database Services新機能アップデート(2025/06-2025/08)
oracle4engineer
PRO
0
110
フィンテック養成勉強会#56
finengine
0
140
Autonomous Database - Dedicated 技術詳細 / adb-d_technical_detail_jp
oracle4engineer
PRO
4
10k
ガチな登山用デバイスからこんにちは
halka
1
230
La gouvernance territoriale des données grâce à la plateforme Terreze
bluehats
0
150
「どこから読む?」コードとカルチャーに最速で馴染むための実践ガイド
zozotech
PRO
0
260
Featured
See All Featured
Rebuilding a faster, lazier Slack
samanthasiow
83
9.2k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.7k
4 Signs Your Business is Dying
shpigford
184
22k
Embracing the Ebb and Flow
colly
87
4.8k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
23
1.4k
How GitHub (no longer) Works
holman
315
140k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
840
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.4k
Navigating Team Friction
lara
189
15k
Build The Right Thing And Hit Your Dates
maggiecrowley
37
2.8k
The World Runs on Bad Software
bkeepers
PRO
70
11k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
6k
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:それ以外
おわり
パディング値のように、 固定値がデフォルト引数になっているものは 分かりにくくなりがちなので、 極力省略せず書く メッセージ
ありがとうございました!