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
72
240fps で画像処理したい
megabitsenmzq
0
160
Swift 開発が楽になる道具たち
megabitsenmzq
1
600
Animoji を作ってみた
megabitsenmzq
0
150
MainMenu.xib を翻訳してみた
megabitsenmzq
0
250
WKWebView とめんどくさいお友達
megabitsenmzq
1
640
先週解決した SwiftUI 問題
megabitsenmzq
0
99
Other Decks in Programming
See All in Programming
Semantic Kernelのネイティブプラグインで知識拡張をしてみる
tomokusaba
0
180
KubeCon + CloudNativeCon NA 2024 Overviewat Kubernetes Meetup Tokyo #68 / amsy810_k8sjp68
masayaaoyama
0
250
これが俺の”自分戦略” プロセスを楽しんでいこう! - Developers CAREER Boost 2024
niftycorp
PRO
0
190
Effective Signals in Angular 19+: Rules and Helpers
manfredsteyer
PRO
0
110
Go の GC の不得意な部分を克服したい
taiyow
3
790
情報漏洩させないための設計
kubotak
3
300
Fibonacci Function Gallery - Part 1
philipschwarz
PRO
0
220
CQRS+ES の力を使って効果を感じる / Feel the effects of using the power of CQRS+ES
seike460
PRO
0
140
17年周年のWebアプリケーションにTanStack Queryを導入する / Implementing TanStack Query in a 17th Anniversary Web Application
saitolume
0
250
fs2-io を試してたらバグを見つけて直した話
chencmd
0
240
Exploring: Partial and Independent Composables
blackbracken
0
100
テスト自動化失敗から再挑戦しチームにオーナーシップを委譲した話/STAC2024 macho
ma_cho29
1
1.3k
Featured
See All Featured
How To Stay Up To Date on Web Technology
chriscoyier
789
250k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
Code Review Best Practice
trishagee
65
17k
Designing Experiences People Love
moore
138
23k
How STYLIGHT went responsive
nonsquared
95
5.2k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
Documentation Writing (for coders)
carmenintech
66
4.5k
Thoughts on Productivity
jonyablonski
67
4.4k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Designing for humans not robots
tammielis
250
25k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
2
170
Raft: Consensus for Rubyists
vanstee
137
6.7k
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