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
14k
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
200
Easy AJAX on Rails
satococoa
5
4.4k
API 担当者が知りたい iOS のこと
satococoa
4
3.3k
Web デザイナのための GitHub ハンズオン
satococoa
1
1.1k
RubyMotion について
satococoa
1
2.3k
RubyMotion によるアプリケーション開発の実践
satococoa
0
5k
プログラマとデザイナのコミュニティのつくりかた
satococoa
5
7.5k
p4d (PHP Conference 2013)
satococoa
0
810
p4d (Rails Girls Tokyo 2nd)
satococoa
4
2.2k
Other Decks in Technology
See All in Technology
LLMアプリケーション開発におけるセキュリティリスクと対策 / LLM Application Security
flatt_security
7
1.8k
Pythonによる契約プログラミング入門 / PyCon JP 2025
7pairs
5
2.5k
コンテキストエンジニアリングとは? 考え方と応用方法
findy_eventslides
4
880
【新卒研修資料】LLM・生成AI研修 / Large Language Model・Generative AI
brainpadpr
23
16k
Access-what? why and how, A11Y for All - Nordic.js 2025
gdomiciano
1
100
What is BigQuery?
aizack_harks
0
130
stupid jj tricks
indirect
0
7.8k
Trust as Infrastructure
bcantrill
0
300
Pure Goで体験するWasmの未来
askua
1
170
動画データのポテンシャルを引き出す! Databricks と AI活用への奮闘記(現在進行形)
databricksjapan
0
140
Railsアプリケーション開発者のためのブックガイド
takahashim
14
6.1k
履歴 on Rails: Bitemporal Data Modelで実現する履歴管理/history-on-rails-with-bitemporal-data-model
hypermkt
0
2.1k
Featured
See All Featured
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
19
1.2k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
VelocityConf: Rendering Performance Case Studies
addyosmani
332
24k
How STYLIGHT went responsive
nonsquared
100
5.8k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Building an army of robots
kneath
306
46k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
6.1k
Gamification - CAS2011
davidbonilla
81
5.5k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.4k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.1k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
285
14k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
132
19k
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/) ߋ৽ࢭ·ͬͯ·͕͢…