既存プロジェクトにキャッチアップするためのTips
by
Yoichi Tagaya
Link
Embed
Share
Beginning
This slide
Copy link URL
Copy link URL
Copy iframe embed code
Copy iframe embed code
Copy javascript embed code
Copy javascript embed code
Share
Tweet
Share
Tweet
Slide 1
Slide 1 text
طଘϓϩδΣΫτʹ ΩϟονΞοϓ͢ΔͨΊͷTips Kyobashi.swift x AKIBA.swift ߹ಉษڧձɹ20172݄8 Yoichi Tagaya, Software Engineer, Mercari Inc. GitHub, Twitter: @yoichitgy
Slide 2
Slide 2 text
ࣗݾհ • Swinject (Swift༻Dependency InjectionϑϨʔϜϫʔΫ) ͷ ΦϦδφϧ࡞ऀ • Swipe Engine (தౡ૱͞ΜͷϝϧϚΨݟͯΔํͬͯΔ͔) ͷίϛολʔ • Mercari ʹೖࣾͯ͠1ϲ݄
Slide 3
Slide 3 text
ϝϧΧϦΞϓϦ • 4ͷྺ࢙͕͋Δίʔυ • νʔϜϝϯόʔ • Tokyo: 5ਓ • San Francisco: 1ਓ • London: 1ਓ • US͚Λத৺ʹ৽͍࣮͠ มߋ͕ͬͱඞཁ
Slide 4
Slide 4 text
ʮ͜͜ʹ৽͍͠ػೳΛ ɹ͚Ճ͍͑ͨΜ͚ͩͲɾɾʯ * αϯϓϧΞϓϦͪ͜Β: https://github.com/JakeLin/SwiftWeather ͦͷίʔυͲ͜ʹ͋Δʁ ࣄͷΞαΠϯ
Slide 5
Slide 5 text
ݟ͑ͯΔจࣈྻΛݕࡧ
Slide 6
Slide 6 text
Debug View Hierarchy 2. ForecastViewͰ ࣮͞ΕͯΔͱΘ͔Δ 1. σόοά࣌ʹΫϦοΫ
Slide 7
Slide 7 text
Debug View Hierarchy ͨͩ͠HierarchyදࣔᘳͰͳ͍ͷͰɺReveal͕ศརͳ߹ɻ https://revealapp.com/
Slide 8
Slide 8 text
͋ͱ • ಉ྅ʹฉ͘ • υΩϡϝϯτಡΉ (͋Ε)
Slide 9
Slide 9 text
ίʔυ͕ॻ͔ΕͨഎܠΛΓ͍ͨ ͳΜͰ͜ͷߦ͕ ೖͬͯΔͷʁʁ
Slide 10
Slide 10 text
XcodeͰGit BlameΛݟΔ ֤ߦʹରԠ͢Δ ίϛοτϩάΛ දࣔͰ͖·͢
Slide 11
Slide 11 text
APIαʔόͱͷΓͱΓΛݟ͍ͨ URLRequestͷ - ύϥϝʔλԿʁ - Ԡ (JSON) ͲΜͳʁ
Slide 12
Slide 12 text
LLDBίϚϯυͰ URLRequestΛcurlίϚϯυʹม 2. ग़ྗΛίϐʔ 1. LLDBίϚϯυ࣮ߦ https://speakerdeck.com/bricklife/sabasaidoenziniatoxiao-lu-yokukai-fa-surutameniyatuteirukoto ৄࡉ @ooba ͷࢿྉ
Slide 13
Slide 13 text
curlίϚϯυΛTerminalͰ࣮ߦ TerminalʹషΓ͚࣮ͯߦͨ͠ྫ JSON Pretty (jsonppΤΠϦΞε): http://stackoverflow.com/questions/20265439/
Slide 14
Slide 14 text
No content
Slide 15
Slide 15 text
ϝϧΧϦͰ ϝϧΧϦက͍ͨͨਓΛืूதʂ ৄࡉʮϝϧΧϦကʯͰݕࡧ