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
990
RubyMotion について
satococoa
1
2.3k
RubyMotion によるアプリケーション開発の実践
satococoa
0
5k
プログラマとデザイナのコミュニティのつくりかた
satococoa
5
7.3k
p4d (PHP Conference 2013)
satococoa
0
770
p4d (Rails Girls Tokyo 2nd)
satococoa
4
2.2k
Other Decks in Technology
See All in Technology
テストを書かないためのテスト/ Tests for not writing tests
sinsoku
1
170
Bring Your Own Container: When Containers Turn the Key to EDR Bypass/byoc-avtokyo2024
tkmru
0
860
GoogleのAIエージェント論 Authors: Julia Wiesinger, Patrick Marlow and Vladimir Vuskovic
customercloud
PRO
0
160
Goで実践するBFP
hiroyaterui
1
120
AWSの生成AIサービス Amazon Bedrock入門!(2025年1月版)
minorun365
PRO
7
470
シフトライトなテスト活動を適切に行うことで、無理な開発をせず、過剰にテストせず、顧客をビックリさせないプロダクトを作り上げているお話 #RSGT2025 / Shift Right
nihonbuson
3
2.2k
AWSマルチアカウント統制環境のすゝめ / 20250115 Mitsutoshi Matsuo
shift_evolve
0
120
Accessibility Inspectorを活用した アプリのアクセシビリティ向上方法
hinakko
0
180
RubyでKubernetesプログラミング
sat
PRO
4
160
カップ麺の待ち時間(3分)でわかるPartyRockアップデート
ryutakondo
0
140
Kotlin Multiplatformのポテンシャル
recruitengineers
PRO
2
150
Docker Desktop で Docker を始めよう
zembutsu
PRO
0
170
Featured
See All Featured
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
8
1.2k
The Language of Interfaces
destraynor
155
24k
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
A Modern Web Designer's Workflow
chriscoyier
693
190k
Gamification - CAS2011
davidbonilla
80
5.1k
Git: the NoSQL Database
bkeepers
PRO
427
64k
We Have a Design System, Now What?
morganepeng
51
7.3k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Visualization
eitanlees
146
15k
It's Worth the Effort
3n
183
28k
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/) ߋ৽ࢭ·ͬͯ·͕͢…