Slide 1

Slide 1 text

طଘϓϩδΣΫτʹ ΩϟονΞοϓ͢ΔͨΊͷTips Kyobashi.swift x AKIBA.swift ߹ಉษڧձɹ2017೥2݄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

ϝϧΧϦͰ͸ ϝϧΧϦကͨ΂͍ͨਓΛืूதʂ ৄࡉ͸ʮϝϧΧϦကʯͰݕࡧ