Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
How to quickly introduce XcodePreviews into a product
Akio Itaya
November 08, 2019
Programming
1
320
How to quickly introduce XcodePreviews into a product
EnjoySwiftUI-vol2
Akio Itaya
November 08, 2019
Tweet
Share
More Decks by Akio Itaya
See All by Akio Itaya
Improve user experience with VisionKit
akkeylab
1
72
Language and Region
akkeylab
3
470
How to release apps faster with SwiftUI
akkeylab
5
2.2k
Working style using Swift
akkeylab
0
450
How to use HorizonCalendar
akkeylab
0
1.4k
Strongest reject measure and Practice SwiftUI
akkeylab
2
830
Five things you can do with SwiftUI v2
akkeylab
0
760
Xcode previews and llvm Vol.2
akkeylab
0
150
How to prevent personal information leakage
akkeylab
1
110
Other Decks in Programming
See All in Programming
JSのウェブフレームワークで高速なルーターを実装する方法
usualoma
1
1.8k
実践エクストリームプログラミング / Extreme Programming in Practice
enk
1
540
GitHub Actions を導入した経緯
tamago3keran
1
430
engineer
spacemarket
0
2.2k
React Nativeアプリを DDDで開発している話
nihemak
0
140
プロダクトのタイプ別 GraphQL クライアントの選び方
shozawa
0
5.1k
How we run a Realtime Puzzle Fighting Game on AWS Serverless
falken
0
250
Angular‘s Future without NgModules: Architectures with Standalone Components @enterJS
manfredsteyer
PRO
0
230
開発速度を5倍早くするVSCodeの拡張機能を作った
purp1eeeee
2
160
Meet Swift Regex
usamik26
0
350
Terraform Plan/Apply結果の自動通知
ymmy02
0
280
Android Compose Component - mapping.
taehwandev
0
140
Featured
See All Featured
Writing Fast Ruby
sferik
612
57k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
12
920
The Language of Interfaces
destraynor
148
20k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
224
49k
Thoughts on Productivity
jonyablonski
43
2.3k
Debugging Ruby Performance
tmm1
65
10k
Optimizing for Happiness
mojombo
365
63k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
119
28k
Designing for humans not robots
tammielis
241
23k
4 Signs Your Business is Dying
shpigford
169
20k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
212
20k
Scaling GitHub
holman
451
140k
Transcript
AKKEY / AKIO ITAYA ଈϓϩμΫτʹಋೖ͢ΔͨΊʹ MatchingAgent, Inc. XcodePreviews
໊લɿ൘୩ ߊྑɹ/ɹ͖͋ͬʔ झຯɿυϥΠϒ ׆ಈɿ@AkkeyLab Cyberagent, Inc. MatchingAgent, Inc. େֶೖֶޙϓϩάϥϛϯάʹҰࠍΕɺ18৽ଔ iOS
ΤϯδχΞ ࣗݾհ
࢝·Γ CA.swift WWDC19 ใࠂձ
ը໘ϨΠΞτ
ը໘ϨΠΞτ จࣈαΠζͰௐ
ը໘ϨΠΞτ iPhone SE:ʮ֬ࡁΈʯඇදࣔ
ը໘ϨΠΞτ URL Λࢦఆͯ͠ը૾Λදࣔ
UIView / XIB File
UIView / XIB File
None
None
None
None
None
None
None
GitHub Ͱެ։தʂ AkkeyLab/StoryboardPreviewsBySwiftUI
ԸܙΛಘΒΕΔͷΘ͔ͬͨ
ͰɺXIB શͯରԠ໘
AutoPreviewable
AutoPreviewable XcodePreviews ʹඞཁͳ code Λࣗಈੜ͢Δ
AutoPreviewable AutoPreviewable ʹ४ڌͤ͞Δ͚ͩ
AutoPreviewable
Demo Xcode 11 AkkeyLab / MatchingAgent, Inc.
AutoPreviewable Code only ͳ߹ʹରԠʂߴ͞ࢦఆՄೳ
AutoPreviewable ύϥϝʔλௐՕॴ·Ͱࣗಈੜ͍͠
ҧ͏ΞϓϩʔνͰߟ͑ͯΈΔ
XcodePreviewsTemplate
XcodePreviewsTemplate Class ৽ن࡞࣌ɺXcodePreviews ʹඞཁͳ code Λࣗಈੜ͢Δ
XcodePreviewsTemplate ͜ΕΒੜ͢Δ View class શͯ XcodePreviews ରԠʂ
ઓ͍·ͩ·ͩଓ͘
2020 / 01 / 30 ։࠵ܾఆʂ
Thank you !!