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
The World is a Network (and We Are Just Nodes)
whatyouhide
0
100
哲学史とモデリング
tanakahisateru
2
430
JS RPCを理解する
yusukebe
5
300
Direct Style Effect Systems The Print[A] ExampleA Comprehension Aid
philipschwarz
PRO
0
410
RailsConf 2024: Riffing on Rails: sketch your way to better designed code
kaspth
1
220
Productivity is Messing Around and Having Fun
hollycummins
1
180
PHPコードの実行モデルを理解する / Understanding-the-PHP-Execution-Model
shin1x1
0
1.1k
How to improve maintainability and readability of your automated tests? ( #scrumniigata )
teyamagu
PRO
1
130
ts-morphを使ってコードリプレイスとASTへのハードルを下げる!
nyawach
5
330
“Seeing Like a Programmer”—Resiliency, Limits, and Moral Hazards in Software Engineering (LambdaConf 2024)
chriskrycho
0
430
Using "modern" Ruby to build a better, faster Homebrew
mikemcquaid
2
290
ServerAction で Progressive Enhancement はどこまで頑張れるか? / progressive-enhancement-with-server-action
takefumiyoshii
6
520
Featured
See All Featured
Mobile First: as difficult as doing things right
swwweet
217
8.6k
Designing for Performance
lara
601
67k
A better future with KSS
kneath
231
16k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
8
3.5k
Put a Button on it: Removing Barriers to Going Fast.
kastner
58
3.1k
10 Git Anti Patterns You Should be Aware of
lemiorhan
649
58k
Bootstrapping a Software Product
garrettdimon
PRO
302
110k
BBQ
matthewcrist
80
8.8k
What's in a price? How to price your products and services
michaelherold
238
11k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
18
7k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
123
39k
The Art of Programming - Codeland 2020
erikaheidi
43
12k
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