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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Megabits_mzq
November 27, 2020
Programming
1
400
SwiftUI 豆知識 - よちよち Swift
2020/11/27 よちよち Swift 勉強会での発表スライドです。
Megabits_mzq
November 27, 2020
Tweet
Share
More Decks by Megabits_mzq
See All by Megabits_mzq
SwiftUI と Shader を活用した楽しいオンボーディング起動画面の作成
megabitsenmzq
0
100
Liquid Glass, どこが変わったのか
megabitsenmzq
0
130
iPhone 16 Camera Control
megabitsenmzq
0
130
240fps で画像処理したい
megabitsenmzq
0
220
Swift 開発が楽になる道具たち
megabitsenmzq
1
740
Animoji を作ってみた
megabitsenmzq
0
190
MainMenu.xib を翻訳してみた
megabitsenmzq
0
280
WKWebView とめんどくさいお友達
megabitsenmzq
1
740
先週解決した SwiftUI 問題
megabitsenmzq
0
130
Other Decks in Programming
See All in Programming
atmaCup #23でAIコーディングを活用した話
ml_bear
1
170
登壇資料を作る時に意識していること #登壇資料_findy
konifar
4
1.7k
AIと一緒にレガシーに向き合ってみた
nyafunta9858
0
270
高速開発のためのコード整理術
sutetotanuki
1
410
例外処理とどう使い分ける?Result型を使ったエラー設計 #burikaigi
kajitack
16
6.1k
2026年 エンジニアリング自己学習法
yumechi
0
140
AI によるインシデント初動調査の自動化を行う AI インシデントコマンダーを作った話
azukiazusa1
1
750
CSC307 Lecture 10
javiergs
PRO
1
660
ぼくの開発環境2026
yuzneri
0
250
Automatic Grammar Agreementと Markdown Extended Attributes について
kishikawakatsumi
0
200
AI時代の認知負荷との向き合い方
optfit
0
170
OCaml 5でモダンな並列プログラミングを Enjoyしよう!
haochenx
0
150
Featured
See All Featured
Building the Perfect Custom Keyboard
takai
2
690
Utilizing Notion as your number one productivity tool
mfonobong
3
220
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
300
WCS-LA-2024
lcolladotor
0
450
Accessibility Awareness
sabderemane
0
58
Java REST API Framework Comparison - PWX 2021
mraible
34
9.2k
From π to Pie charts
rasagy
0
130
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
130
So, you think you're a good person
axbom
PRO
2
1.9k
Crafting Experiences
bethany
1
55
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