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
知っていると便利なiOS開発Tips!
Search
Kanno Kentarou
June 23, 2016
Programming
5
1.6k
知っていると便利なiOS開発Tips!
iOS開発会議67回目
Kanno Kentarou
June 23, 2016
Tweet
Share
Other Decks in Programming
See All in Programming
AWS IaCの注目アップデート 2024年10月版
konokenj
3
3.3k
「今のプロジェクトいろいろ大変なんですよ、app/services とかもあって……」/After Kaigi on Rails 2024 LT Night
junk0612
4
2k
Macとオーディオ再生 2024/11/02
yusukeito
0
330
Hotwire or React? ~アフタートーク・本編に含めなかった話~ / Hotwire or React? after talk
harunatsujita
1
110
役立つログに取り組もう
irof
28
9.3k
推し活としてのrails new/oshikatsu_ha_iizo
sakahukamaki
3
2k
ふかぼれ!CSSセレクターモジュール / Fukabore! CSS Selectors Module
petamoriken
0
120
Boost Performance and Developer Productivity with Jakarta EE 11
ivargrimstad
0
1.5k
Pinia Colada が実現するスマートな非同期処理
naokihaba
4
200
約9000個の自動テストの 時間を50分->10分に短縮 Flakyテストを1%以下に抑えた話
hatsu38
24
12k
GitHub Actionsのキャッシュと手を挙げることの大切さとそれに必要なこと
satoshi256kbyte
5
420
とにかくAWS GameDay!AWSは世界の共通言語! / Anyway, AWS GameDay! AWS is the world's lingua franca!
seike460
PRO
1
780
Featured
See All Featured
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
27
2k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
42
9.2k
Scaling GitHub
holman
458
140k
10 Git Anti Patterns You Should be Aware of
lemiorhan
654
59k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.4k
Reflections from 52 weeks, 52 projects
jeffersonlam
346
20k
RailsConf 2023
tenderlove
29
890
Become a Pro
speakerdeck
PRO
25
5k
Speed Design
sergeychernyshev
24
600
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
126
18k
5 minutes of I Can Smell Your CMS
philhawksworth
202
19k
Transcript
͍ͬͯΔͱศརͳ iOS։ൃTips! iOS։ൃձٞ67ճin גࣜձࣾτϥΠϑΥʔτ @_Kentarou
ࠓߋͳλΠτϧͰ͕͢ɾɾɾ
͜Μͳͷ͍ͬͯΔʁ
पΓͷਓʹฉ͍ͯΈͨɾɾɾ
͑ʂ
ࣗͷͨΓલɺଞͷਓ ʹ৽ͩͬͨΓ͢Δʂ
ͱ͍͏͜ͱͰࠓߋͰ͕͢ɺ ߦͬͯΈ·͠ΐ͏ʂ
"HFOEB ŋXcode ŋSimulator ŋDevice ŋTools ŋService
Xcode
⌘ + i ࣗಈΠϯσϯτௐ ⌘ + control + E ϩʔΧϧมͷҰׅม
9DPEF4IPSU$VU ⌘ + Click γϯϘϧͷఆٛδϟϯϓ option + Click γϯϘϧͷAPI Quick HelpΛදࣔ esc มީิΛදࣔ͢Δ ⌘ + Shift + J ݱࡏฤूதͷϑΝΠϧΛ ϓϩδΣΫτφϏήʔλʔͰબ ⌘ + Shift + O ϓϩδΣΫτͷϑΝΠϧɺϝιουΛݕࡧ
9DPEF1MVHJO ŋAlcatraz http://alcatraz.io Xcode͔Β؆୯ʹϓϥάΠϯΛೖΕΔ͜ͱ͕ग़དྷΔΑ͏ʹͳΔPlugin
9DPEF1MVHJO ŋColorSenseRainbow https://github.com/NorthernRealities/ColorSenseRainbow ŋRealmPlugin httpshttps://github.com/realm/realm-cocoa://github.com/NorthernRealities/ ColorSenseRainbow
9DPEF4OJQQFU ŋXcodeSwiftSnippets https://github.com/burczyk/XcodeSwiftSnippets ŋSnippetొɺมߋՄೳ ~/Library/Developer/Xcode/UserData/CodeSnippets
ŋXcodeͷॳظςϯϓϨʔτΛࣗ࡞͢Δ 9DPEF5FNQMBUF http://qiita.com/krimpedance/items/abf6c4da74e5729b427d
ŋURLScheme, Push௨͔ΒͷىಈΛσόοΫ͢Δ 9DPEF&EJU4DIFNF Wait for executable to be launched
ŋϒϨʔΫϙΠϯτͰϓϩάϥϜΛఀࢭ͍ͯ͠Δ࣌ʹೖྗͰ͖ΔίϚϯυ 9DPEF--%#%FCVH po view.performSelector("recursiveDescription") h ϔϧϓΛදࣔ bt ݱࡏͷελοΫτϨʔεΛදࣔ͢Δ ܕͷධՁ Viewͷ֊Λදࣔ
ŋStoryboard্ʹViewΛஔͯ͠ɺaddSubview͞ΕΔ·Ͱը໘ ʹදࣔ͞Εͳ͍ػೳ 9DPEF&YUSB7JFX IUUQTEFWFMPQFSBQQMFDPNMJCSBSZUWPTSFDJQFTYDPEF@IFMQ *#@TUPSZCPBSE$IBQUFST"EE7JFXT5P%PDLIUNM
ŋStoryboardͰViewͱࢠViewͷalphaΛผʑʹઃఆ͢Δ 9DPEF7JFXBMQIB
ŋStoryboard্Ͱ࣮ࡍʹඳը͞ΕͨϏϡʔΛݟͨΓɺϏϡʔͷଐੑΛ มߋͨ͠ΓͰ͖ΔΑ͏ʹͳΔ 9DPEF!*#%FTJHOBCMF!*#*OTQFDUBCMF IUUQTEFWFMPQFSBQQMFDPNMJCSBSZJPTSFDJQFTYDPEF@IFMQ *#@PCKFDUT@NFEJB$IBQUFST$SFBUJOHB-JWF7JFXPGB$VTUPN0CKFDUIUNM
ŋViewΛϨΠϠʔͷΑ͏ʹ֊Խ͠ 3D දࣔͯ͘͠ΕΔػೳ 9DPEF%FCVH7JFX)JFSBSDIZ IUUQTXXXSBZXFOEFSMJDIDPNWJFXEFCVHHJOHJOYDPEF Debug > View Debugging >
Capture View Hierarchy
ŋҎલͷόʔδϣϯͱͷࠩΛൺֱ͢Δ 9DPEF(JU4PVSDF$POUSPM IUUQTXXXSBZXFOEFSMJDIDPNIPXUPVTFHJUTPVSDF DPOUSPMXJUIYDPEFJOJPT
ŋPlaygroundϑΝΠϧʹ৽͍͠ϖʔδΛՃ͢Δ 9DPEF1MBZHSPVOE
ŋMarkdownه๏Ͱهड़͢Δ 9DPEF1MBZHSPVOE Editor > Show Rendered MarkUp
Simulator
ŋண৴εςʔλεόʔΛΓସ͑Δ 4JNVMBUPS Hardware > Toggle In-Call Status Bar ⌘ +
Y
Device
%FWJDF ŋ࣮ػͰͷ௨৴ঢ়ଶΛ੍ݶ͢Δ ઃఆ > Developer > Status > Network Link
Conditioner
Tools
5PPMT ŋiExplorer https://www.macroplant.com/iexplorer/ ͷΞϓϦͷSandBoxʹΞΫηεͰ͖ɺ ฤूɺஔ͕͑Մೳ
5PPMT ŋPaintCode http://www.paintcodeapp.com ϕΫλʔάϥϑΟοΫε͔ΒίʔυΛੜͰ͖Δ
5PPMT ŋSQLPro for SQLite https://www.sqlitepro.com/?referrer=MAS SQLiteσʔλϕʔεͷཧΞϓϦ
5PPMT ŋDash https://kapeli.com/dash ༷ʑͳ API ϦϑΝϨϯεΛߴʹݕࡧͰ͖Δ
5PPMT ŋCharles http://www.charlesproxy.com HTTPϓϩΩγΛઃఆͰ͖ΔιϑτͰɺ௨৴ͷ༰Λ͍ͨ Γվมͨ͠Γ͢Δࣄ͕Ͱ͖Δ
5PPMT ŋSketch https://www.sketchapp.com ΦϥϯμͷBohemian Coding͕ࣾ։ൃͨ͠ϕΫλʔ υϩʔΠϯάπʔϧ
Service
4FSWJDF http://jsoneditoronline.org ŋJSON Editor Online JSONΛArray,Dictionaryͷݟ͍͢ܗͰදࣔͯ͘͠ΕΔ
4FSWJDF ŋJsonStub https://jsonstub.com https://gist.github.com/KentarouKanno/5814d45439da308808d830b4a7ff1840 JSONͷStubڥΛఏڙͯ͘͠ΕΔαʔϏε
ࠓ͔Β͑Δ5JQT͕ ҰͭͰ͋ͬͨΒ͍Ͱ͢
ͦͯ͠օ͞Μͷ5JQTڭ͍͑ͯͩ͘͞ʂ