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
Xamarin.Forms Hot Reload のススメ
Search
amay077
August 31, 2019
Programming
0
820
Xamarin.Forms Hot Reload のススメ
amay077
August 31, 2019
Tweet
Share
More Decks by amay077
See All by amay077
愛知県新型コロナ対策サイト(非公式)の紹介
amay077
0
270
愛知県コロナ対策サイトが立ち上がってから
amay077
0
72
クロスプラットフォームモバイルアプリ開発ツール総ざらい2019 〜Titanium Mobile から Kotlin/Native まで〜 #droidkaigi
amay077
11
9.9k
ハムスター検出器を1日で作ってみた #NGK2018B
amay077
1
1k
App Center から Azure Pipeline に乗り換えた話
amay077
0
1.3k
Xamarin.Forms.GoogleMaps について
amay077
0
1.4k
Xamarin.Android で始めるクロスプラットフォームモバイルアプリ開発 #jaghama
amay077
0
610
Xamarin.Android で始めるクロスプラットフォームモバイルアプリ開発 #jxug
amay077
0
890
Xamarin.Android で始めるクロスプラットフォームモバイルアプリ開発 #droidkaigi #droidkaigi1
amay077
3
3.5k
Other Decks in Programming
See All in Programming
最新TCAキャッチアップ
0si43
0
200
RubyLSPのマルチバイト文字対応
notfounds
0
120
Make Impossible States Impossibleを 意識してReactのPropsを設計しよう
ikumatadokoro
0
240
C++でシェーダを書く
fadis
6
4.1k
NSOutlineView何もわからん:( 前編 / I Don't Understand About NSOutlineView :( Pt. 1
usagimaru
0
340
Functional Event Sourcing using Sekiban
tomohisa
0
100
イベント駆動で成長して委員会
happymana
1
340
Creating a Free Video Ad Network on the Edge
mizoguchicoji
0
120
アジャイルを支えるテストアーキテクチャ設計/Test Architecting for Agile
goyoki
9
3.3k
ActiveSupport::Notifications supporting instrumentation of Rails apps with OpenTelemetry
ymtdzzz
1
250
Micro Frontends Unmasked Opportunities, Challenges, Alternatives
manfredsteyer
PRO
0
110
Jakarta EE meets AI
ivargrimstad
0
690
Featured
See All Featured
StorybookのUI Testing Handbookを読んだ
zakiyama
27
5.3k
Six Lessons from altMBA
skipperchong
27
3.5k
Being A Developer After 40
akosma
87
590k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
A Modern Web Designer's Workflow
chriscoyier
693
190k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
6.8k
A designer walks into a library…
pauljervisheath
204
24k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
47
2.1k
Rails Girls Zürich Keynote
gr2m
94
13k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
KATA
mclloyd
29
14k
What's in a price? How to price your products and services
michaelherold
243
12k
Transcript
Xamarin.Forms Hot Reload ͷεεϝ 2019.8.31 JXUG @amay077
About me • Ԟࢁ ༟ਈ - @amay077ʢ͋Ί͍ʣ • Android, iOS,
Xamarin, TypeScript AWS, Azure… • ѪݝࡏॅͷϑϧϦϞʔτϫʔΧʔ • ཧใγεςϜɺҐஔใϓϩάϥϛϯά • DroidKaigi2017ొஃˠٕज़ॻయ2→ۀຊԽ(ڞஶ)
ࠓ͓ͳ͢͠Δ͜ͱ Xamarin.Forms UI։ൃπʔϧͷྺ࢙ Official ͳ Hot Reload ͕Ωλʂ Xamarin.Forms Ͱ
Hot Reload Ͱ͖Δπʔϧ͍Ζ ͍Ζ Any Platform ࣌ͷը໘։ൃ
Xamarin.Forms UI։ൃπʔϧͷྺ࢙ Xamarin | Forms | XAML | Live |
Player | Viewer | Previewer ଟ͗͢
Xamarin.Forms 1.xʙ2.x ϓϨϏϡʔΞσβΠφԿͳ͔ͬͨ… ͨͩͬͯRun&Watch
XAML Previewer | Viewer (Xamarin.Forms Previewer) ొ: 20164݄ࠒ ʙ ݱଘ
هड़ͨ͠XAMLίʔυΛVisual StudioͰϓϨϏϡʔදࣔ͢Δػೳ ݱࡏ Visual Studio ͷ XAMLΛ։͍ͨը໘ʹ౷߹ ػೳ໊ͷ༳Ε͕ώυ͍w (ࢲݟ)͙Δ͙Δ͕ফ͑ͳ͔ͬͨΓਅͬനͩͬͨΓΤϥʔ͕ग़ͨ ΓɺʹཱͬͨهԱ͕ͳ͍ ࠷ۙͰʮσβΠϯλΠϜσʔλʯʹରԠͯ͠Δͦ͏Ͱ͢
Xamarin Live Player ొ: 20175݄ࠒ ʙ 20188݄ࠒ Mac͕ͳ͘ͱiOSσόΠε։ൃதͷΞϓϦ͕సૹɾ ։ൃͰ͖Δͱ͞Ε͕࣮ͨࡍ੍͕ଟ͘… ࣮ଶC#ΠϯλϓϦλΛࡌͨ͠ΞϓϦ
AppStore͔ΒBAN͞ΕɺTestFlightͰͷެ։ఀࢭ͞Ε ࣄ্࣮ऴྃ
Xamarin Live Reload ొ: 20184݄ࠒ ʙ 201810݄ࠒ XAMLͷมߋΛΞϓϦʹసૹ͠ɺଈ࣌ʹ࣮ࡍͷΞϓϦʹద༻͢Δ ͍ΘΏΔʮHot Reloadʯػೳ
ϓϨϏϡʔ൛ͷ··ఀ͠ɺVS for Mac ʹఏڙ͢Β͞Εͣ։ ൃऴྃ (ࢲݟ)ಉ࣌ظʹLive Playerऴྃ͠WebFlutterͰओྲྀͰ͋Δ ʮϥΠϒ։ൃʯͷಓ͕ด͟͞Εͨͱͯ͠େ͍ʹࣦ
ʮLive Reload ࢮΜͩͱݴͬͨͳɺ ΞϨιͩʯ
Live Reload վΊ XAML Hot Reload for Xamarin.Forms ొ ※Live
Reload ͱͷؔ࿈֬ೝͰ͖·ͤΜ
None
XAML Hot Reload for Xamarin.Forms 2019ϦϦʔε༧ఆ(ݱࡏϓϨϏϡʔ൛) Visual Studio 2019 /
Visual Studio for Mac ํͰར༻ Մೳ Ճͷ Add-in nuget ύοέʔδෆཁ ͨͩ͠ nuget Xamarin.Forms 4.1.0.581475 Ҏ্͕ඞཁ ਖ਼ࣜϦϦʔε͞ΕΔ·ͰؾΛൈ͘ͳʂ
DEMO
HotReload for XF Ҏ֎ͷબࢶ (ͱ͍͏͔ઌۦ͚)
LiveXAML http://www.livexaml.com/ IDEʹAddinɺΞϓϦʹLiveXAML.dll ͕ඞཁ $240/∞ ݹ͍ Xamarin.Forms Ͱಈ͘(3.x Ͱ֬ೝ) UWP
ʹରԠ ෳσόΠεಉ࣮࣌ߦՄೳ
AndreiMisiukevich/HotReload https://github.com/AndreiMisiukevich/ HotReload VS for Win/Mac, Rider, VSCode ͳͲͰ͑Δ C#
ίʔυมߋͷHot ReloadՄೳ(࣮ػͰෆ Մ)
LiveSharp https://github.com/OYIon/LiveSharp LiveXAML ͱಉ͡ਓ(νʔϜ?)͕࡞ͬͯΔ C# ίʔυมߋͷHot Reload͕Մೳ
pranshu-aggarwal/HotReloading https://github.com/pranshu-aggarwal/ HotReloading C# ίʔυมߋͷHot Reload͕Մೳ Xamarin.Forms ͷ߹ 3.4.0Ҏ্͕ඞཁ
Any Platform ࣌ͷը໘։ൃ for MS Developers
UIΤσΟλϓϨϏϡʔΞͷݶք ʮ࣮ࡍʹಈ͍͍ͯΔΞϓϦʯͰͳ͍ ࣮ߦڥ։ൃڥWinͳΒ·ͩ࠶ݱੑߴ͔ͬͨ iPhoneΞϓϦͷݟͨΛWindows্Ͱ࠶ݱ͢ΔͷʹϜϦ͕ ͋Δͷ໌ന ಛʹϓϥοτϑΥʔϜґଘͷϥΠϒϥϦΛ͍ͬͯΔ߹ ඳըෆՄ ࡞ Xamarin.Forms.GoogleMaps ͦͷҰྫ
ͦ͜Ͱ Hot Reload Ͱ͢Α ʮ࣮ࡍʹಈ͍͍ͯΔΞϓϦʯͰ֬ೝͰ͖Δ ތுͳ͠ʹʮ࠶ݱ100%ʯ ݸਓతʹ XAML Previewer શ͍ͬͯ͘·ͤΜ
Previewer ΑΓ Hot Reload ʹ։ൃύϫʔͬͯ΄ ͍͠ > Visuals Studio νʔϜ͞Μ
·ͱΊ
·ͱΊ Any Platform࣌ʹ Hot Reload ͕࠷ద ৽نҊ݅ʹ Hot Reload for
XFɺ طଘҊ݅ʹ LiveXAML ͦͷଞOSSπʔϧ C# ίʔυͷ HotReload πʔϧಋೖ͢Εແఢ ʮ࣮ࡍͷΞϓϦʯͰαΫαΫ֬ೝ͠ͳ͕Βը໘Λ࡞Ζ ͏ʂ
͝ਗ਼ௌ ͋Γ͕ͱ͏͍͟͝·ͨ͠"