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
960
RubyMotion について
satococoa
1
2.2k
RubyMotion によるアプリケーション開発の実践
satococoa
0
5k
プログラマとデザイナのコミュニティのつくりかた
satococoa
5
7.2k
p4d (PHP Conference 2013)
satococoa
0
760
p4d (Rails Girls Tokyo 2nd)
satococoa
4
2.2k
Other Decks in Technology
See All in Technology
Lexical Analysis
shigashiyama
1
150
インフラとバックエンドとフロントエンドをくまなく調べて遅いアプリを早くした件
tubone24
1
430
OTelCol_TailSampling_and_SpanMetrics
gumamon
1
200
Shopifyアプリ開発における Shopifyの機能活用
sonatard
4
250
Flutterによる 効率的なAndroid・iOS・Webアプリケーション開発の事例
recruitengineers
PRO
0
120
CysharpのOSS群から見るModern C#の現在地
neuecc
2
3.5k
アプリエンジニアのためのGraphQL入門.pdf
spycwolf
0
100
Zennのパフォーマンスモニタリングでやっていること
ryosukeigarashi
0
150
OCI Network Firewall 概要
oracle4engineer
PRO
0
4.2k
DynamoDB でスロットリングが発生したとき_大盛りver/when_throttling_occurs_in_dynamodb_long
emiki
1
430
SRE×AIOpsを始めよう!GuardDutyによるお手軽脅威検出
amixedcolor
0
170
VideoMamba: State Space Model for Efficient Video Understanding
chou500
0
190
Featured
See All Featured
Teambox: Starting and Learning
jrom
133
8.8k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
Imperfection Machines: The Place of Print at Facebook
scottboms
265
13k
Rails Girls Zürich Keynote
gr2m
94
13k
A designer walks into a library…
pauljervisheath
204
24k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
4
370
No one is an island. Learnings from fostering a developers community.
thoeni
19
3k
Making Projects Easy
brettharned
115
5.9k
We Have a Design System, Now What?
morganepeng
50
7.2k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.3k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Speed Design
sergeychernyshev
25
620
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/) ߋ৽ࢭ·ͬͯ·͕͢…