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
SwiftUI 豆知識 - よちよち Swift
Search
Megabits_mzq
November 27, 2020
Programming
1
370
SwiftUI 豆知識 - よちよち Swift
2020/11/27 よちよち Swift 勉強会での発表スライドです。
Megabits_mzq
November 27, 2020
Tweet
Share
More Decks by Megabits_mzq
See All by Megabits_mzq
iPhone 16 Camera Control
megabitsenmzq
0
76
240fps で画像処理したい
megabitsenmzq
0
160
Swift 開発が楽になる道具たち
megabitsenmzq
1
610
Animoji を作ってみた
megabitsenmzq
0
150
MainMenu.xib を翻訳してみた
megabitsenmzq
0
250
WKWebView とめんどくさいお友達
megabitsenmzq
1
650
先週解決した SwiftUI 問題
megabitsenmzq
0
100
Other Decks in Programming
See All in Programming
カンファレンス動画鑑賞会のススメ / Osaka.swift #1
hironytic
0
170
GitHub CopilotでTypeScriptの コード生成するワザップ
starfish719
26
6k
return文におけるstd::moveについて
onihusube
1
1.4k
Scaling your build logic
antalmonori
1
100
AWS re:Invent 2024個人的まとめ
satoshi256kbyte
0
100
PSR-15 はあなたのための ものではない? - phpcon2024
myamagishi
0
410
月刊 競技プログラミングをお仕事に役立てるには
terryu16
1
1.2k
BEエンジニアがFEの業務をできるようになるまでにやったこと
yoshida_ryushin
0
200
Package Traits
ikesyo
1
210
PHPUnitしか使ってこなかった 一般PHPerがPestに乗り換えた実録
mashirou1234
0
420
2025.01.17_Sansan × DMM.swift
riofujimon
2
560
最近のVS Codeで気になるニュース 2025/01
74th
1
100
Featured
See All Featured
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
8
1.2k
Making the Leap to Tech Lead
cromwellryan
133
9k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Practical Orchestrator
shlominoach
186
10k
Faster Mobile Websites
deanohume
305
30k
Unsuck your backbone
ammeep
669
57k
VelocityConf: Rendering Performance Case Studies
addyosmani
327
24k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
2k
The World Runs on Bad Software
bkeepers
PRO
66
11k
Side Projects
sachag
452
42k
YesSQL, Process and Tooling at Scale
rocio
170
14k
Transcript
Megabits @Megabits_mzq
Megabits @Megabits_mzq
None
@Megabits_mzq SwiftUI ⾖知識 SwiftUI 完全に理解した (ではない
struct MyAppsView_Previews: PreviewProvider { static var previews: some View {
MyAppsView() } }
None
import PlaygroundSupport struct MainView: View { var body: some View
{ ······ } } PlaygroundPage.current.setLiveView(MainView())
None
None
struct MyAppsView_Previews: PreviewProvider { static var previews: some View {
MyAppsView() } }
None
None
struct ContentView_Previews: PreviewProvider { static var previews: some View {
ContentView() .previewLayout(.sizeThatFits) } }
Circle().background(Color.yellow)
Circle().background(Color.yellow.brightness(0.5))
Circle().background(Color.yellow.brightness(0.5))
Circle().background(Color.yellow.saturation(0.3))
Circle().background(Color.yellow.saturation(0.3))
Circle().background(Color.yellow.saturation(0.3)) Circle().foregroundColor(Color.yellow.saturation(0.3))
None
NavigationView { }
NavigationView { }.navigationViewStyle(StackNavigationViewStyle())
None
struct PopoutAlertView: View { var body: some View { ZStack
{ RoundedRectangle(cornerRadius: 15) .foregroundColor(Color.green) Text(title) .font(.headline) .padding() } } }
struct PopoutAlertView: View { var body: some View { ZStack
{ RoundedRectangle(cornerRadius: 15) .foregroundColor(Color.green) .layoutPriority(-1) Text(title) .font(.headline) .padding() } } }
None
ありがとうございました Twitter My Apps