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
330
SwiftUI 豆知識 - よちよち Swift
2020/11/27 よちよち Swift 勉強会での発表スライドです。
Megabits_mzq
November 27, 2020
Tweet
Share
More Decks by Megabits_mzq
See All by Megabits_mzq
240fps で画像処理したい
megabitsenmzq
0
93
Swift 開発が楽になる道具たち
megabitsenmzq
1
550
Animoji を作ってみた
megabitsenmzq
0
110
MainMenu.xib を翻訳してみた
megabitsenmzq
0
220
WKWebView とめんどくさいお友達
megabitsenmzq
1
540
先週解決した SwiftUI 問題
megabitsenmzq
0
84
Other Decks in Programming
See All in Programming
slog登場に伴うloggerの取り回し手法の見直し / kamakura.go #6
arthur1
0
160
TypeScriptでもLLMアプリケーション開発 / LLM Application In Typescript
rkaga
5
1.3k
哲学史とモデリング
tanakahisateru
3
440
Next.js App Router
quramy
14
2.3k
Namespace, What and Why
tagomoris
4
1.1k
Using "modern" Ruby to build a better, faster Homebrew
mikemcquaid
2
300
Powerfully Typed TypeScript
euxn23
4
1.8k
The Design of Everyday APIs - PyCon 2024
roguelynn
1
220
Try creating your own orderedmap
kazamori
1
290
HonoのRPCで真の型安全が欲しかった
kosei28
1
160
CREってこういうこと? 体験入社 - 提案資料 - / what-is-cre-trial-employment
shinden
1
620
Embedding it into Ruby code
soutaro
2
420
Featured
See All Featured
Designing with Data
zakiwarfel
96
4.8k
Stop Working from a Prison Cell
hatefulcrawdad
266
19k
Facilitating Awesome Meetings
lara
43
5.6k
Unsuck your backbone
ammeep
664
57k
Robots, Beer and Maslow
schacon
PRO
155
8k
Art, The Web, and Tiny UX
lynnandtonic
290
19k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
12
1.1k
Debugging Ruby Performance
tmm1
70
11k
It's Worth the Effort
3n
180
27k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
123
39k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
20
1.8k
GitHub's CSS Performance
jonrohan
1025
450k
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