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
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
44
9.3k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.1k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
3
190
How to train your dragon (web standard)
notwaldorf
88
5.7k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
230
52k
VelocityConf: Rendering Performance Case Studies
addyosmani
326
24k
Mobile First: as difficult as doing things right
swwweet
222
9k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
18
2.3k
The Power of CSS Pseudo Elements
geoffreycrofte
73
5.4k
Product Roadmaps are Hard
iamctodd
PRO
50
11k
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