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
3k
既存プロジェクトにキャッチアップするための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
480
Architecture and ReactorKit
yoichitgy
1
630
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
84
モバイルアプリで困らないエラーハンドリングとロギングのベストプラクティス
yoichitgy
21
6.4k
Other Decks in Programming
See All in Programming
.NETでOBS Studio操作してみたけど…… / Operating OBS Studio by .NET
skasweb
0
120
毎日13時間もかかるバッチ処理をたった3日で60%短縮するためにやったこと
sho_ssk_
1
550
Swiftコンパイラ超入門+async関数の仕組み
shiz
0
180
QA環境で誰でも自由自在に現在時刻を操って検証できるようにした話
kalibora
1
140
オニオンアーキテクチャを使って、 Unityと.NETでコードを共有する
soi013
0
370
Fixstars高速化コンテスト2024準優勝解法
eijirou
0
190
混沌とした例外処理とエラー監視に秩序をもたらす
morihirok
13
2.3k
盆栽転じて家具となる / Bonsai and Furnitures
aereal
0
1.9k
Alba: Why, How and What's So Interesting
okuramasafumi
0
210
ErdMap: Thinking about a map for Rails applications
makicamel
1
660
ISUCON14感想戦で85万点まで頑張ってみた
ponyo877
1
590
非ブラウザランタイムとWeb標準 / Non-Browser Runtimes and Web Standards
petamoriken
0
430
Featured
See All Featured
Making Projects Easy
brettharned
116
6k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
120k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
The Art of Programming - Codeland 2020
erikaheidi
53
13k
Building Your Own Lightsaber
phodgson
104
6.2k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
365
25k
Building Adaptive Systems
keathley
38
2.4k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
Music & Morning Musume
bryan
46
6.3k
It's Worth the Effort
3n
183
28k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
8
1.2k
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
ϝϧΧϦͰ ϝϧΧϦက͍ͨͨਓΛืूதʂ ৄࡉʮϝϧΧϦကʯͰݕࡧ