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
86
Swift UI デフォルト引数クイズ
mobile.stmn#11での発表資料です。
おしん
April 18, 2025
Tweet
Share
More Decks by おしん
See All by おしん
よりアプリらしさを出すために
shincarpediem
1
72
Concurrency Warningが 沢山出たから聞いてほしい ~Xcode 16.1 Beta 編~
shincarpediem
1
180
iOSのPhoto Libraryアクセス権限を見直してみよう
shincarpediem
1
180
SwiftUI登場前のVIPERアプリでもSwiftUIをスムーズに導入できた話
shincarpediem
2
1.5k
VIPERアプリにSwiftUIを導入してみた
shincarpediem
1
390
Other Decks in Technology
See All in Technology
AIと共同執筆してより質の高い記事を書こう
riyaamemiya
1
300
Previewでもここまで追える! Azure AI Foundryで始めるLLMトレース
tomodo_ysys
2
630
Part1 GitHubってなんだろう?その1
tomokusaba
3
740
genspark_presentation.pdf
haruki_uiru
1
240
MCP でモノが動くとおもしろい/It is interesting when things move with MCP
bitkey
2
460
Serverlessだからこそコードと設計にはこだわろう
kenichirokimura
2
950
CARTA HOLDINGS エンジニア向け 採用ピッチ資料 / CARTA-GUIDE-for-Engineers
carta_engineering
0
27k
20 Years of Domain-Driven Design: What I’ve Learned About DDD
ewolff
1
320
AI駆動で進化する開発プロセス ~クラスメソッドでの実践と成功事例~ / aidd-in-classmethod
tomoki10
1
1k
Azure Maps Visual in PowerBIで分析しよう
nakasho
0
210
Simplify! 10 ways to reduce complexity in software development
ufried
2
240
データベース04: SQL (1/3) 単純質問 & 集約演算
trycycle
PRO
0
730
Featured
See All Featured
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.8k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
13
840
A Tale of Four Properties
chriscoyier
159
23k
Mobile First: as difficult as doing things right
swwweet
223
9.6k
Navigating Team Friction
lara
185
15k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
30
2.3k
A Modern Web Designer's Workflow
chriscoyier
693
190k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Building Flexible Design Systems
yeseniaperezcruz
329
39k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.7k
Designing for Performance
lara
608
69k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
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:それ以外
おわり
パディング値のように、 固定値がデフォルト引数になっているものは 分かりにくくなりがちなので、 極力省略せず書く メッセージ
ありがとうございました!