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
160
Easy AJAX on Rails
satococoa
5
4.3k
API 担当者が知りたい iOS のこと
satococoa
4
3.2k
Web デザイナのための GitHub ハンズオン
satococoa
1
970
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
日本版とグローバル版のモバイルアプリ統合の開発の裏側と今後の展望
miichan
1
130
Snykで始めるセキュリティ担当者とSREと開発者が楽になる脆弱性対応 / Getting started with Snyk Vulnerability Response
yamaguchitk333
2
180
LINEスキマニにおけるフロントエンド開発
lycorptech_jp
PRO
0
330
祝!Iceberg祭開幕!re:Invent 2024データレイク関連アップデート10分総ざらい
kniino
2
250
社内イベント管理システムを1週間でAKSからACAに移行した話し
shingo_kawahara
0
180
AI時代のデータセンターネットワーク
lycorptech_jp
PRO
1
280
Wantedly での Datadog 活用事例
bgpat
1
430
PHPからGoへのマイグレーション for DMMアフィリエイト
yabakokobayashi
1
170
Qiita埋め込み用スライド
naoki_0531
0
1.3k
アップデート紹介:AWS Data Transfer Terminal
stknohg
PRO
0
180
WACATE2024冬セッション資料(ユーザビリティ)
scarletplover
0
190
Turing × atmaCup #18 - 1st Place Solution
hakubishin3
0
470
Featured
See All Featured
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
2
170
Optimizing for Happiness
mojombo
376
70k
GitHub's CSS Performance
jonrohan
1030
460k
BBQ
matthewcrist
85
9.4k
Producing Creativity
orderedlist
PRO
341
39k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
Designing on Purpose - Digital PM Summit 2013
jponch
116
7k
Visualization
eitanlees
146
15k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
28
8.3k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
28
900
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
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/) ߋ৽ࢭ·ͬͯ·͕͢…