Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
SwiftUIの紹介
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
t.goda
August 30, 2019
Programming
47
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
SwiftUIの紹介
SwiftUIについての簡単な紹介と雑感
t.goda
August 30, 2019
Transcript
9 slides
SwiftUIհ
SwiftUIͱ StoryboardʹมΘΔ৽͍͠UIͷ࡞खஈ ࠓ·Ͱͷ֓೦ΛΘΓͱ෴͢ײ͡ એݴܕγϯλοΫεΛར༻
SwiftUIͷྫ
ॴ ίʔυ͕ϦΞϧλΠϜͰσβΠϯʹө͞ΕΔ σβΠϯ͕ϦΞϧλΠϜͰίʔυʹө͞ΕΔ γϛϡϨʔλΛىಈͤͣͱಈ࡞Λ֬ೝՄೳ ͏ੵΈΛੵ·ͳͯ͘͢ΉΑʂʂ
࣮ԋ
SwiftUIͷར༻ൣғ શͯͷϓϥοτϑΥʔϜʹରԠʢΒ͍͠ʣ iOSΑΓWatchOSͳͲͰ׆༂͢ΔͷͰʁ ࡉ͔ͳࢦఆ͕͋Γɺෳࡶͳը໘ʹ͔ͳ͍ ٯʹStoryboardͰAutoLayoutͷ͑ͳ͍WatchOSʹ͘ͷͰ ʢݸਓͷײͰ͢ʣ
طଘίʔυͱͷ݉Ͷ߹͍ طଘϓϩδΣΫτʹSwiftUIΛಋೖ͢Δ͜ͱՄ ೳ SwiftUIͰUIViewControllerͷར༻Մೳ UIViewControllerRepresentableΛ͏ SwiftUI͕UIViewControllerͷϥΠϑαΠΫϧΛཧ ͨͩ͠iOS13ະຬશ෦Γࣺͯͯ͘ΕΑͳʂ
ٯʹ UIViewControllerͰSwiftUIΛ͏͜ͱՄೳ UIHostingControllerΛར༻͢Δ
ࡶײ ·ͱΊ UIViewControllerج४Ͱͳ͘ͳΔͷͰ׳Ε͕ඞཁ UIKitΛ͔ࠜͬ͜ΒΘͳ͘ͳΔʢதUIKitͱ͔AppKit͚ͩͲʣ AutoLayoutݏ͍ͳਓʹྑ͍ͷͰ ίʔυϨϏϡʔͳͲͰUIมߋͷ֬ೝ͕͘͢͠ͳΔ ࠓ·ͰͷΑ͏ͳਓྨʹಡΊͳ͍xmlܗࣜͷϑΝΠϧΛಡ·ͳͯ͘ࡁΉ ΞʔΩςΫνϟͲ͏͢Δ͔
More Decks by t.goda
See All by t.goda
Distribute Binary Framework with Swift Package Manager
nivisunder7
0
150
XCTestでAPIのテストコードを書く
nivisunder7
0
420
App Clipについて
nivisunder7
1
89
Swift5.0 ABI安定化について
nivisunder7
0
400
Watch Kitのはまりどころ
nivisunder7
0
71
Docker in Docker Tips
nivisunder7
0
67
iOS11のここが素晴らしい
nivisunder7
0
94
iPhoneX時代のレイアウト
nivisunder7
0
110
SpriteKitでゲーム開発
nivisunder7
0
120
Other Decks in Programming
See All in Programming
SODA - FACT BOOK(EN)
sodainc
1
280
止まらない比較を止める — 余帰納法で無限ストリームを比べる
tarao
0
210
Kotlin Fest 2026: Kotlin コンパイラに Contribute してみよう! - Kotlin/Wasm で深い再帰を書けるようにした話
ternbusty
1
420
Kotlin JVM用に作られたライブラリのKMPを前提とした再設計
jsoizo
0
230
Claude Code ハーネスDeep Dive – 君はどこまで制御する? -
takateeen_knj
6
6.3k
SONY CISC-NEWS NWS-1750 + NWB-225 ハードウェアメンテとフレームバッファカラー対応 / KOF2026
tsutsui
0
130
コード生成時代のAPI定義を支えるRequest Spec移行
pvcresin
0
300
The Cost of the DOM
ypresto
2
210
はじめてのKubernetesコントリビューション
nasa9084
0
320
Growing PicoRuby's Ecosystem on ESP32
yuuu
2
150
AI時代のFlutter品質設計 — アプリ品質を守るQuality Layers
omatty198
0
390
AppFunctionsの内部実装を紐解く
hiroaki404
0
120
Featured
See All Featured
Accessibility Awareness
sabderemane
1
310
The Spectacular Lies of Maps
axbom
PRO
1
1.1k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
470
Product Roadmaps are Hard
iamctodd
55
13k
Automating Front-end Workflow
addyosmani
1370
210k
Mind Mapping
helmedeiros
1
450
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.9k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
1
670
Faster Mobile Websites
deanohume
310
32k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
73
43k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
1.1k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
540