$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Swift UI デフォルト引数クイズ
Search
おしん
April 18, 2025
Technology
1
120
Swift UI デフォルト引数クイズ
mobile.stmn#11での発表資料です。
おしん
April 18, 2025
Tweet
Share
More Decks by おしん
See All by おしん
モバイルアプリへのRemoteConfigの恩恵
shincarpediem
2
110
よりアプリらしさを出すために
shincarpediem
1
120
Concurrency Warningが 沢山出たから聞いてほしい ~Xcode 16.1 Beta 編~
shincarpediem
1
220
iOSのPhoto Libraryアクセス権限を見直してみよう
shincarpediem
1
220
SwiftUI登場前のVIPERアプリでもSwiftUIをスムーズに導入できた話
shincarpediem
3
1.7k
VIPERアプリにSwiftUIを導入してみた
shincarpediem
1
420
Other Decks in Technology
See All in Technology
AI時代の開発フローとともに気を付けたいこと
kkamegawa
0
1.4k
計算機科学をRubyと歩む 〜DFA型正規表現エンジンをつくる~
ydah
3
140
21st ACRi Webinar - AMD Presentation Slide (Nao Sumikawa)
nao_sumikawa
0
240
ログ管理の新たな可能性?CloudWatchの新機能をご紹介
ikumi_ono
0
400
大企業でもできる!ボトムアップで拡大させるプラットフォームの作り方
findy_eventslides
0
260
知っていると得する!Movable Type 9 の新機能を徹底解説
masakah
0
320
第4回 「メタデータ通り」 リアル開催
datayokocho
0
110
Uncertainty in the LLM era - Science, more than scale
gaelvaroquaux
0
770
Oracle Technology Night #95 GoldenGate 26ai の実装に迫る1
oracle4engineer
PRO
0
150
エンジニアとPMのドメイン知識の溝をなくす、 AIネイティブな開発プロセス
applism118
4
560
バグハンター視点によるサプライチェーンの脆弱性
scgajge12
3
930
Agentic AI Patterns and Anti-Patterns
glaforge
1
190
Featured
See All Featured
It's Worth the Effort
3n
187
29k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.6k
Thoughts on Productivity
jonyablonski
73
5k
Speed Design
sergeychernyshev
33
1.4k
Art, The Web, and Tiny UX
lynnandtonic
303
21k
Producing Creativity
orderedlist
PRO
348
40k
A better future with KSS
kneath
240
18k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.6k
Designing for Performance
lara
610
69k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.1k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
7.8k
For a Future-Friendly Web
brad_frost
180
10k
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:それ以外
おわり
パディング値のように、 固定値がデフォルト引数になっているものは 分かりにくくなりがちなので、 極力省略せず書く メッセージ
ありがとうございました!