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
390
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
52
Liquid Glass, どこが変わったのか
megabitsenmzq
0
100
iPhone 16 Camera Control
megabitsenmzq
0
110
240fps で画像処理したい
megabitsenmzq
0
190
Swift 開発が楽になる道具たち
megabitsenmzq
1
690
Animoji を作ってみた
megabitsenmzq
0
180
MainMenu.xib を翻訳してみた
megabitsenmzq
0
260
WKWebView とめんどくさいお友達
megabitsenmzq
1
720
先週解決した SwiftUI 問題
megabitsenmzq
0
120
Other Decks in Programming
See All in Programming
開発組織の戦略的な役割と 設計スキル向上の効果
masuda220
PRO
10
1.8k
AkarengaLT vol.38
hashimoto_kei
1
130
モテるデスク環境
mozumasu
3
1.3k
あなたとKaigi on Rails / Kaigi on Rails + You
shimoju
0
210
技術的負債の正体を知って向き合う
irof
0
280
Devvox Belgium - Agentic AI Patterns
kdubois
1
150
CSC305 Lecture 09
javiergs
PRO
0
320
AI Agent 時代的開發者生存指南
eddie
4
2.2k
Claude CodeによるAI駆動開発の実践 〜そこから見えてきたこれからのプログラミング〜
iriikeita
0
360
他言語経験者が Golangci-lint を最初のコーディングメンターにした話 / How Golangci-lint Became My First Coding Mentor: A Story from a Polyglot Programmer
uma31
0
460
Temporal Knowledge Graphで作る! 時間変化するナレッジを扱うAI Agentの世界
po3rin
4
870
When Dependencies Fail: Building Antifragile Applications in a Fragile World
selcukusta
0
110
Featured
See All Featured
Intergalactic Javascript Robots from Outer Space
tanoku
272
27k
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
RailsConf 2023
tenderlove
30
1.3k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
15k
GraphQLの誤解/rethinking-graphql
sonatard
73
11k
Become a Pro
speakerdeck
PRO
29
5.6k
Site-Speed That Sticks
csswizardry
13
930
Designing for humans not robots
tammielis
254
26k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Navigating Team Friction
lara
190
15k
Balancing Empowerment & Direction
lara
5
700
Raft: Consensus for Rubyists
vanstee
140
7.2k
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