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
TypeScriptでライブラリとの依存を限定的にする方法
tutinoko
3
710
イマのCSSでできる インタラクション最前線 + CSS最新情報
clockmaker
4
1.1k
Make Impossible States Impossibleを 意識してReactのPropsを設計しよう
ikumatadokoro
0
280
ローコードSaaSのUXを向上させるためのTypeScript
taro28
1
630
Hotwire or React? ~アフタートーク・本編に含めなかった話~ / Hotwire or React? after talk
harunatsujita
1
120
シェーダーで魅せるMapLibreの動的ラスタータイル
satoshi7190
1
480
OnlineTestConf: Test Automation Friend or Foe
maaretp
0
120
Enabling DevOps and Team Topologies Through Architecture: Architecting for Fast Flow
cer
PRO
0
350
デザインパターンで理解するLLMエージェントの作り方 / How to develop an LLM agent using agentic design patterns
rkaga
3
370
よくできたテンプレート言語として TypeScript + JSX を利用する試み / Using TypeScript + JSX outside of Web Frontend #TSKaigiKansai
izumin5210
6
1.8k
Macとオーディオ再生 2024/11/02
yusukeito
0
380
Streams APIとTCPフロー制御 / Web Streams API and TCP flow control
tasshi
2
360
Featured
See All Featured
Building Applications with DynamoDB
mza
90
6.1k
Reflections from 52 weeks, 52 projects
jeffersonlam
346
20k
Making Projects Easy
brettharned
115
5.9k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.8k
Git: the NoSQL Database
bkeepers
PRO
427
64k
Done Done
chrislema
181
16k
Designing Experiences People Love
moore
138
23k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
Optimising Largest Contentful Paint
csswizardry
33
2.9k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
8
900
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
4
380
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ڭ͍͑ͯͩ͘͞ʂ