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 でポエムをつづろう!
Search
Satoshi Ebisawa
February 01, 2014
Technology
5
13k
iOS でポエムをつづろう!
[Conference With Developers 2](
http://confwd2.peatix.com
)
LT 発表資料
Satoshi Ebisawa
February 01, 2014
Tweet
Share
More Decks by Satoshi Ebisawa
See All by Satoshi Ebisawa
kubernetes
satococoa
0
150
Easy AJAX on Rails
satococoa
5
4.3k
API 担当者が知りたい iOS のこと
satococoa
4
3.2k
Web デザイナのための GitHub ハンズオン
satococoa
1
950
RubyMotion について
satococoa
1
2.2k
RubyMotion によるアプリケーション開発の実践
satococoa
0
5k
プログラマとデザイナのコミュニティのつくりかた
satococoa
5
7.2k
p4d (PHP Conference 2013)
satococoa
0
740
p4d (Rails Girls Tokyo 2nd)
satococoa
4
2.2k
Other Decks in Technology
See All in Technology
持続可能なソフトウェア開発を支える『GitHub CI/CD実践ガイド』
tmknom
6
1.3k
「自動テストのプラクティスを効果的に学ぶためのカードゲーム」 ( #sqip2024 )
teyamagu
PRO
2
180
効果的なオンコール対応と障害対応
ryuichi1208
5
2.9k
あなたの知らないiOS開発の世界
recruitengineers
PRO
3
170
アプリをリリースできる状態に保ったまま 段階的にリファクタリングするための 戦略と戦術 / Strategies and tactics for incremental refactoring
yanzm
6
1.3k
ロリポップ! for Gamersを支えるインフラ/lolipop for gamers infrastructure
takumakume
0
130
Developer Experienceを向上させる基盤づくりの取り組み事例集
coconala_engineer
0
140
どこよりも遅めなWinActor Ver.7.5.0 新機能紹介
tamai_63
0
200
Tricentisにおけるテスト自動化へのAI活用ご紹介/20240910Shunsuke Katakura
shift_evolve
0
180
ロボットアームを遠隔制御の話 & LLMをつかったIoTの話もしたい
soracom
PRO
1
380
ついに出た!OpenAIの最新モデル「o1」って何がすごいの?
minorun365
PRO
3
730
プログラム検証入門
riru
6
860
Featured
See All Featured
The Brand Is Dead. Long Live the Brand.
mthomps
53
38k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
23
1.7k
10 Git Anti Patterns You Should be Aware of
lemiorhan
653
58k
A designer walks into a library…
pauljervisheath
201
24k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
246
1.3M
ReactJS: Keep Simple. Everything can be a component!
pedronauck
663
120k
Navigating Team Friction
lara
183
13k
Atom: Resistance is Futile
akmur
261
25k
The World Runs on Bad Software
bkeepers
PRO
64
11k
Visualization
eitanlees
142
15k
Music & Morning Musume
bryan
46
6k
Transcript
2014-02-01 Conference With Developers 2 iOS ͰϙΤϜΛͭͮΖ͏ʂ ւ ૱ (@satococoa)
Yokohama.rb / RubyMotion JP / P4D
ΞδΣϯμ ✤ ϙΤϜͱ! ✤ ωΠςΟϒͱ Web ͱͷڱؒʹͯͷᷤ౻! ✤ ͜͜Ζ͕͚! ✤
RESTful ͳઃܭʹର͢ΔಌΕ
ϙΤϜͱ bit.ly/inu-poem
ωΠςΟϒͱ Web ͷڱؒʹͯͷᷤ౻ ✤ ϙΤϜ Web ΞϓϦ! ✤ ϋΠϒϦου vs
ϑϧωΠςΟϒ! ✤ ҆қʹϋΠϒϦουΛબͿͱٽ͘ (Web ͋Δ͋Δ)
ϙΤϜΞϓϦʹཉ͍͠ͷ ✤ ϙΤϜͷొɾߋ৽ΛωΠςΟϒ UI Ͱ! ✤ ௨ HBFav2 Έ͍ͨͳ੩͔ͳ Push
͕ཉ͍͠! ✤ ͔Θ͍Β͠͞
ϙΤϜ։ൃνʔϜ ✤ Ruby ਥ × ໊ + σβΠφ × 1໊
+ iOS × 1 ໊! ✤ ͨΒ։ൃૣ͍ɻUI ͪΐͪ͘ΐ͘มΘΔɻ! ✤ ·ͩϦϦʔε͔Β͕࣌ؒܦ͍ͬͯͳ͍ɻ
ΑΖ͍͠ɺͳΒϋΠϒϦουͩ ✤ ཉ͍͠ػೳ͋·ΓෳࡶͰͳ͍! ✤ WebView ΛΈࠐΉํ͕νʔϜͷྗΛ׆͔ͤΔ! ✤ JavaScript ʹۤखҙࣝͳ͍
͜͜Ζ͕͚ ✤ Web ͷ։ൃͷअຐʹͳΒͳ͍Α͏ʹ͢Δ! ✤ ϋΠϒϦουʹىҼ͢Δෳࡶ͕͞ҰఆൣғΛӽ͑ͨΒ ϑϧωΠςΟϒʹ͢Δ! ✤ ߦّͷྑ͍ઃܭΛߦ͏
ྫʣωΠςΟϒߘػೳ 1. JavaScript ͰϦϯΫλοϓ࣌ͷಈ࡞Λॻ͖͑! 1. data-native-screen ଐੑͷ͍ͭͨϦϯΫΛ୳͢! 2. JavaScript ͰϫϯλΠϜτʔΫϯΛऔಘ
(ߋ৽ͷ߹ݱࡏͷߘ༰)! 3. औಘͨ͠ใΛωΠςΟϒଆʹड͚͢! 2. ͋ͱωΠςΟϒͰΑΖ͘͠Δ
RESTful ͳઃܭͷಌΕ Method! Path Action GET /posts index POST /posts
create GET /posts/:id show PATCH / PUT /posts/:id update DELETE /posts/:id destroy
RESTful ͳઃܭͷಌΕ Method! Path Action GET /posts index GET /posts/new
new POST /posts create GET /posts/:id show GET /posts/:id/edit edit PATCH / PUT /posts/:id update DELETE /posts/:id destroy
JavaScript Injection!! webViewDidFinishLoad: ͔Β native_injection.js ൈਮ
ωΠςΟϒͷใͷड͚͠ native_injection.js ൈਮ URL Scheme ͬͯ! json Λ͢
ड͚औΖ͏ app_delegate.rb ൈਮ
“ݴ͍͍ͨ͜ͱݴ͑ͳ͍! ͜Μͳιʔγϟϧ͡Ό” – ϙΤϜ
ࣗݾհ ✤ ւ ૱ (@satococoa)! ✤ http://satococoa.github.io/! ✤ Yokohama.rb, RubyMotion
JP, P4D! ✤ RubyMotion, Ruby on Rails, Objective-C! ✤ גࣜձࣾΠάχε (࠾༻ͯ͠ΔΑʂhttp://1923.co.jp/) ߋ৽ࢭ·ͬͯ·͕͢…