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
380
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
93
240fps で画像処理したい
megabitsenmzq
0
180
Swift 開発が楽になる道具たち
megabitsenmzq
1
640
Animoji を作ってみた
megabitsenmzq
0
170
MainMenu.xib を翻訳してみた
megabitsenmzq
0
260
WKWebView とめんどくさいお友達
megabitsenmzq
1
690
先週解決した SwiftUI 問題
megabitsenmzq
0
110
Other Decks in Programming
See All in Programming
"使いづらい" をリバースエンジニアリングする UI の読み解き方
rebase_engineering
0
110
Agent Rules as Domain Parser
yodakeisuke
1
350
TVer iOSチームの共通認識の作り方 - Findy Job LT iOSアプリ開発の裏側 開発組織が向き合う課題とこれから
techtver
PRO
0
710
OpenNext + Hono on Cloudflare でイマドキWeb開発スタックを実現する
rokuosan
0
110
tsconfigのオプションで変わる型世界
keisukeikeda
1
130
Javaのルールをねじ曲げろ!禁断の操作とその代償から学ぶメタプログラミング入門 / A Guide to Metaprogramming: Lessons from Forbidden Techniques and Their Price
nrslib
1
290
Javaに鉄道指向プログラミング (Railway Oriented Pro gramming) のエッセンスを取り入れる/Bringing the Essence of Railway-Oriented Programming to Java
cocet33000
1
120
Practical Domain-Driven Design - Workshop at NDC 2025
mufrid
0
130
CQRS/ESのクラスとシステムフロー ~ RailsでフルスクラッチでCQRSESを組んで みたことから得た学び~
suzukimar
0
190
TSConfigからTypeScriptの世界を覗く
planck16
2
1.3k
REST API設計の実践 – ベストプラクティスとその落とし穴
kentaroutakeda
2
320
少数精鋭エンジニアがフルスタック力を磨く理由 -そしてAI時代へ-
rebase_engineering
0
130
Featured
See All Featured
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
331
21k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
106
19k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
129
19k
Building a Modern Day E-commerce SEO Strategy
aleyda
40
7.3k
[RailsConf 2023] Rails as a piece of cake
palkan
55
5.6k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
42
2.3k
Site-Speed That Sticks
csswizardry
7
590
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
19
1.3k
Reflections from 52 weeks, 52 projects
jeffersonlam
349
20k
Bash Introduction
62gerente
614
210k
Navigating Team Friction
lara
186
15k
The World Runs on Bad Software
bkeepers
PRO
68
11k
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