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
180
Dependency Injection Pattern for iOS App
yoichitgy
1
280
Dependency Injection Pattern for iOS Apps
yoichitgy
2
410
Practical Structure to Configure Dependency Injection in Swift for iOS
yoichitgy
1
520
Architecture and ReactorKit
yoichitgy
1
670
GDPRについて
yoichitgy
2
1.5k
More about Crashlytics and Less about GDPR ;)
yoichitgy
2
300
How to contribute to try! Swift Tokyo 2018
yoichitgy
0
91
モバイルアプリで困らないエラーハンドリングとロギングのベストプラクティス
yoichitgy
21
6.6k
Other Decks in Programming
See All in Programming
CSC305 Lecture 10
javiergs
PRO
0
310
kiroとCodexで最高のSpec駆動開発を!!数時間で web3ネイティブなミニゲームを作ってみたよ!
mashharuki
0
960
外接に惑わされない自システムの処理時間SLIをOpenTelemetryで実現した話
kotaro7750
0
110
Foundation Modelsを実装日本語学習アプリを作ってみた!
hypebeans
0
130
技術的負債の正体を知って向き合う
irof
0
280
Devoxx BE - Local Development in the AI Era
kdubois
0
150
Migration to Signals, Resource API, and NgRx Signal Store
manfredsteyer
PRO
0
130
釣り地図SNSにおける有料機能の実装
nokonoko1203
0
200
O Que É e Como Funciona o PHP-FPM?
marcelgsantos
0
220
contribution to astral-sh/uv
shunsock
0
550
One Enishi After Another
snoozer05
PRO
0
170
スマホから Youtube Shortsを見られないようにする
lemolatoon
27
34k
Featured
See All Featured
Into the Great Unknown - MozCon
thekraken
40
2.1k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
10
630
Making Projects Easy
brettharned
120
6.4k
jQuery: Nuts, Bolts and Bling
dougneiner
65
7.9k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Practical Orchestrator
shlominoach
190
11k
The Cost Of JavaScript in 2023
addyosmani
55
9.1k
Producing Creativity
orderedlist
PRO
348
40k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.2k
Building Adaptive Systems
keathley
44
2.8k
Rails Girls Zürich Keynote
gr2m
95
14k
Embracing the Ebb and Flow
colly
88
4.9k
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
ϝϧΧϦͰ ϝϧΧϦက͍ͨͨਓΛืूதʂ ৄࡉʮϝϧΧϦကʯͰݕࡧ