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
あるあるLT~文字列共通化~
Search
domonr
July 23, 2019
0
570
あるあるLT~文字列共通化~
AndroidとiOSの文字列共通化の話
domonr
July 23, 2019
Tweet
Share
More Decks by domonr
See All by domonr
アプリのリニューアル時にDomainModelを削除した話(設計カンファレンス extends OOC 2024.3.29)
domonr
0
620
(iOS13の)UIBarButtonItem 位置調整あるある
domonr
0
980
あるあるLT_domonr_2019-03-19.pdf
domonr
0
1.4k
脱ぼっちレビュー_domonr
domonr
0
330
Featured
See All Featured
The Art of Programming - Codeland 2020
erikaheidi
53
13k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
How to Think Like a Performance Engineer
csswizardry
22
1.2k
The Pragmatic Product Professional
lauravandoore
32
6.3k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.1k
4 Signs Your Business is Dying
shpigford
182
21k
Optimising Largest Contentful Paint
csswizardry
33
3k
Building Adaptive Systems
keathley
38
2.3k
Navigating Team Friction
lara
183
15k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
169
50k
BBQ
matthewcrist
85
9.4k
Transcript
͋Δ͋ΔLT ~จࣈྻ͋Δ͋Δ~ 2019/07/23(Ր) domonr 1
ͲΜ wॴଐˠBOEGBDUPSZ*OD w4XJGUྺˠ͙Β͍ wεϚϒϥˠϦτϧɾϚοΫ 2
ʓʓը໘Ͱදࣔ͞Ε͍ͯΔ จࣈྻόά͍ͬͯΔ͔Β͓͍ͯͯ͠ʔ 3 ※ϑΟΫγϣϯͰ͢
ʓʓը໘Ͱදࣔ͞Ε͍ͯΔ จࣈྻόά͍ͬͯΔ͔Β͓͍ͯͯ͠ʔ 4 ※ϑΟΫγϣϯͰ͢ όάͬͯΔΜ͡Όͳͯ͘ࢦ ఆ͞ΕͨจࣈྻΛදࣔͯ͠ Δ͚ͩͳΜͰ͕͢…
͋Δ͋ΔͰ͢Ͷ 5
ͦͷͨΊɺࠓճεϓϨουγʔτͰ͍͍ײ͡ʹ จࣈྻཧΛ͍ͯ͠ΔΛ͠Α͏ͱࢥ͍·͢ɻ 6 ※·ͩ։ൃ͔ͯ͠Βϲ݄ͷϓϩδΣΫτͳͷͰӡ༻Ͱ͏·͍͔͘ͳ͍Մೳੑ͋Γ
7 iOS ͱ AndroidͰڞ௨ͷϩʔΧϥΠζϑΝΠϧΛ࡞Ζ͏ʂ (iOS Advent Calendar 2016) ʛ DevelopersIO
https://dev.classmethod.jp/smartphone/ios-android-common-localize/ ࢀߟ
8 ࢀߟͱ͍͏͔΄΅ݩهࣄͱಉ͡Ͱ͢…
શମͷྲྀΕҎԼ • ΞϓϦͰ༻͢Δจࣈྻશ෦εϓϨουγʔτͰཧ • εϓϨουγʔτΛͱʹGoogleεΫϦϓτͰ֤OSʹ߹ͬ ͨϩʔΧϥΠζϑΝΠϧΛ࡞ • ֤ΞϓϦʹೖΕΔ(iOSͷ߹SwiftGenΛ༻ɺAndroid xmlΛૉʹ༻) 9
࣮ࡍͷϑΝΠϧΛݟͯΈ·͠ΐ͏ 10
11
12
13
֤ϦϯΫ • εϓϨουγʔτ https://docs.google.com/spreadsheets/d/1TPLLiw8E30- MhQDAO4ej6lO6Wb8MVV9uMb2zAt9Xai4/edit?usp=sharing • εΫϦϓτ https://script.google.com/d/ 1XczsgnUQiuUt6KauSkSmDCBrt2QkqZXwVvzs71if5IJ0JrcX 2NM4XYaB/edit?usp=sharing
14 ※ηΩϡϦςΟతʹϠόͦ͏ͳͱ͜Ζ͋ͬͨΒࢦఠ͍ͩ͘͞ʼʻ
15 iOS
16 Android
·ͱΊ • ΞϓϦͰ༻͢Δจࣈྻશ෦εϓϨουγʔτͰཧ • εϓϨουγʔτΛͱʹGoogleεΫϦϓτͰ֤OSʹ߹ͬ ͨϩʔΧϥΠζϑΝΠϧΛ࡞ • ֤ΞϓϦʹೖΕΔ(iOSͷ߹SwiftGenΛ༻ɺAndroid xmlΛૉʹ༻) 17
͓·͚ • ࢀߟهࣄͷεΫϦϓτͱҧ͏ͱ͜ΖɺϑΝΠϧʹͯ͠ग़ྗ͍ͯ͠Δ ɻεϓϨουγʔτʹ̍ߦͣͭग़ྗ͢ΔͱΊͬͪΌ͕͔͔࣌ؒΔͷ ͰɺҰׅͰϑΝΠϧʹग़ྗ͢ΔΑ͏ʹͨ͠ • iOSͰxibstoryboardʹઌ΄Ͳ࡞ͨ͠ϑΝΠϧ͔ΒΛηο τͰ͖ͳ͍ͷͰɺશͯͷLabelΛswiftϑΝΠϧʹଓ͢Δඞཁ͕͋ Δ… •
͍ͭͰʹϩʔΧϥΠζରԠͰ͖ΔͷͰ͍ͭͰւ֎͚ʹΞϓϦ͕ ग़ͤΔΑ͏ʹͳΔʂ 18