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
590
あるある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
660
(iOS13の)UIBarButtonItem 位置調整あるある
domonr
0
1k
あるあるLT_domonr_2019-03-19.pdf
domonr
0
1.4k
脱ぼっちレビュー_domonr
domonr
0
350
Featured
See All Featured
A Modern Web Designer's Workflow
chriscoyier
693
190k
Done Done
chrislema
184
16k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.6k
4 Signs Your Business is Dying
shpigford
183
22k
Fontdeck: Realign not Redesign
paulrobertlloyd
84
5.5k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.7k
Large-scale JavaScript Application Architecture
addyosmani
512
110k
Measuring & Analyzing Core Web Vitals
bluesmoon
7
410
RailsConf 2023
tenderlove
30
1.1k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
227
22k
[RailsConf 2023] Rails as a piece of cake
palkan
54
5.5k
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