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
既存プロジェクトにキャッチアップするためのTips
Search
Yoichi Tagaya
February 08, 2017
Programming
2
3.1k
既存プロジェクトにキャッチアップするためのTips
Kyobashi.swift x AKIBA.swift 合同勉強会 2017年2月8日
https://kyobashi-swift.connpass.com/event/48794/
Yoichi Tagaya
February 08, 2017
Tweet
Share
More Decks by Yoichi Tagaya
See All by Yoichi Tagaya
Dependency Injection
yoichitgy
0
150
Dependency Injection Pattern for iOS App
yoichitgy
1
260
Dependency Injection Pattern for iOS Apps
yoichitgy
2
400
Practical Structure to Configure Dependency Injection in Swift for iOS
yoichitgy
1
490
Architecture and ReactorKit
yoichitgy
1
640
GDPRについて
yoichitgy
2
1.4k
More about Crashlytics and Less about GDPR ;)
yoichitgy
2
290
How to contribute to try! Swift Tokyo 2018
yoichitgy
0
88
モバイルアプリで困らないエラーハンドリングとロギングのベストプラクティス
yoichitgy
21
6.5k
Other Decks in Programming
See All in Programming
Defying Front-End Inertia: Inertia.js on Rails
skryukov
0
480
Compose Hot Reload is here, stop re-launching your apps! (Android Makers 2025)
zsmb
1
500
Signal-Based Data FetchingWith the New httpResource
manfredsteyer
PRO
0
170
The Evolution of the CRuby Build System
kateinoigakukun
0
700
SEAL - Dive into the sea of search engines - Symfony Live Berlin 2025
alexanderschranz
1
130
Unlock the Potential of Swift Code Generation
rockname
0
250
AI Agents with JavaScript
slobodan
0
230
Kamal 2 – Get Out of the Cloud
aleksandrov
1
190
KawaiiLT 登壇資料 キャリアとモチベーション
hiiragi
0
110
リストビュー画面UX改善の振り返り
splcywolf
0
140
タイムゾーンの奥地は思ったよりも闇深いかもしれない
suguruooki
1
640
Optimizing JRuby 10
headius
0
300
Featured
See All Featured
Become a Pro
speakerdeck
PRO
27
5.3k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
31
1.1k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Navigating Team Friction
lara
184
15k
Making the Leap to Tech Lead
cromwellryan
133
9.2k
Designing for humans not robots
tammielis
252
25k
Documentation Writing (for coders)
carmenintech
69
4.7k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
60k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
34
2.2k
Measuring & Analyzing Core Web Vitals
bluesmoon
7
390
How GitHub (no longer) Works
holman
314
140k
Transcript
طଘϓϩδΣΫτʹ ΩϟονΞοϓ͢ΔͨΊͷTips Kyobashi.swift x AKIBA.swift ߹ಉษڧձɹ20172݄8 Yoichi Tagaya, Software Engineer,
Mercari Inc. GitHub, Twitter: @yoichitgy
ࣗݾհ • Swinject (Swift༻Dependency InjectionϑϨʔϜϫʔΫ) ͷ ΦϦδφϧ࡞ऀ • Swipe Engine
(தౡ૱͞ΜͷϝϧϚΨݟͯΔํͬͯΔ͔) ͷίϛολʔ • Mercari ʹೖࣾͯ͠1ϲ݄
ϝϧΧϦΞϓϦ • 4ͷྺ࢙͕͋Δίʔυ • νʔϜϝϯόʔ • Tokyo: 5ਓ • San
Francisco: 1ਓ • London: 1ਓ • US͚Λத৺ʹ৽͍࣮͠ มߋ͕ͬͱඞཁ
ʮ͜͜ʹ৽͍͠ػೳΛ ɹ͚Ճ͍͑ͨΜ͚ͩͲɾɾʯ * αϯϓϧΞϓϦͪ͜Β: https://github.com/JakeLin/SwiftWeather ͦͷίʔυͲ͜ʹ͋Δʁ ࣄͷΞαΠϯ
ݟ͑ͯΔจࣈྻΛݕࡧ
Debug View Hierarchy 2. ForecastViewͰ ࣮͞ΕͯΔͱΘ͔Δ 1. σόοά࣌ʹΫϦοΫ
Debug View Hierarchy ͨͩ͠HierarchyදࣔᘳͰͳ͍ͷͰɺReveal͕ศརͳ߹ɻ https://revealapp.com/
͋ͱ • ಉ྅ʹฉ͘ • υΩϡϝϯτಡΉ (͋Ε)
ίʔυ͕ॻ͔ΕͨഎܠΛΓ͍ͨ ͳΜͰ͜ͷߦ͕ ೖͬͯΔͷʁʁ
XcodeͰGit BlameΛݟΔ ֤ߦʹରԠ͢Δ ίϛοτϩάΛ දࣔͰ͖·͢
APIαʔόͱͷΓͱΓΛݟ͍ͨ URLRequestͷ - ύϥϝʔλԿʁ - Ԡ (JSON) ͲΜͳʁ
LLDBίϚϯυͰ URLRequestΛcurlίϚϯυʹม 2. ग़ྗΛίϐʔ 1. LLDBίϚϯυ࣮ߦ https://speakerdeck.com/bricklife/sabasaidoenziniatoxiao-lu-yokukai-fa-surutameniyatuteirukoto ৄࡉ @ooba ͷࢿྉ
curlίϚϯυΛTerminalͰ࣮ߦ TerminalʹషΓ͚࣮ͯߦͨ͠ྫ JSON Pretty (jsonppΤΠϦΞε): http://stackoverflow.com/questions/20265439/
None
ϝϧΧϦͰ ϝϧΧϦက͍ͨͨਓΛืूதʂ ৄࡉʮϝϧΧϦကʯͰݕࡧ