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
Swift 開発が楽になる道具たち
megabitsenmzq
1
550
Animoji を作ってみた
megabitsenmzq
0
110
MainMenu.xib を翻訳してみた
megabitsenmzq
0
220
WKWebView とめんどくさいお友達
megabitsenmzq
1
530
先週解決した SwiftUI 問題
megabitsenmzq
0
81
Other Decks in Programming
See All in Programming
educure_カリキュラム生操作マニュアル.pdf
linew_official
0
700
Blue/Greenデプロイの導入による 運用フローの改善
kudoas
1
370
Semantic search with Django and pgvector
pauloxnet
0
240
大規模Reactアプリのリアーキテクチャ~8万行のTanStack Query移行の軌跡~
kj455
4
940
はてなにおける CSS Modules、及び CSS Modules に足りないもの / CSS Modules in Hatena, and CSS Modules missing parts
mizdra
6
910
ゆるい個人開発のススメ
kuroppe1819
10
980
try!Swift Tokyo 2024 参加報告 LT
akidon0000
1
220
Changed Rules: Architectures with Lightweight Stores
manfredsteyer
PRO
0
240
効率化に挑戦してみたらモバイル開発が少し快適になった話
ryunakayama
0
130
Rubyでたのしむクリエイティブコーディング/Enjoy Creative coding with Ruby
chobishiba
1
180
Build Apps for iOS, Android & Desktop in 100% Kotlin With Compose Multiplatform (mDevCamp 2024)
zsmb
0
270
デフォルトにして至高、RubyMineの大好きな所
ruzia
0
260
Featured
See All Featured
For a Future-Friendly Web
brad_frost
172
9k
Embracing the Ebb and Flow
colly
80
4.1k
Building Applications with DynamoDB
mza
88
5.6k
Building Flexible Design Systems
yeseniaperezcruz
319
37k
Product Roadmaps are Hard
iamctodd
44
9.7k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
116
18k
Designing with Data
zakiwarfel
96
4.8k
Happy Clients
brianwarren
92
6.4k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
322
20k
Stop Working from a Prison Cell
hatefulcrawdad
266
19k
How GitHub Uses GitHub to Build GitHub
holman
468
290k
Making the Leap to Tech Lead
cromwellryan
124
8.5k
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