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
RubyMotion Tech Talk
Search
Ben Sheldon
April 25, 2013
0
100
RubyMotion Tech Talk
Delivered to OkCupid Labs.
Ben Sheldon
April 25, 2013
Tweet
Share
More Decks by Ben Sheldon
See All by Ben Sheldon
Accessibility, Performance, Prioritization
bensheldon
0
2
Incident Command
bensheldon
0
1
An ok compromise: Faster development by designing for the Rails Autoloader
bensheldon
1
210
Bridging People and Benefits Systems
bensheldon
0
330
Keeping Users at the Forefront While Scaling Services
bensheldon
0
170
Why Ben ❤️s Vanity for running A/B Tests
bensheldon
0
100
Dashboard Performance Brownbag
bensheldon
0
130
All about Backbone.js
bensheldon
0
85
Real World Dashboard
bensheldon
0
220
Featured
See All Featured
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
44
2.5k
We Have a Design System, Now What?
morganepeng
53
7.8k
GitHub's CSS Performance
jonrohan
1032
460k
Typedesign – Prime Four
hannesfritz
42
2.8k
Designing Experiences People Love
moore
142
24k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
Documentation Writing (for coders)
carmenintech
74
5k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
185
54k
The Language of Interfaces
destraynor
161
25k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.5k
Transcript
RubyMotion Thursday, April 25, 13
iOS SDK Foundation Framework Objective-C Runtime Ruby Obj-C ??? *
* ~90% of Ruby and no stdlib Thursday, April 25, 13
NSDictionary *params = [NSDictionary dictionaryWithObjectsAndKeys: @"foo", @"bar",nil]; params = {"foo"
=> "bar"} Objective-c RubyMotion Simplistic Example Thursday, April 25, 13
UIBarButtonItem *btnMenu = [[UIBarButtonItem alloc]initWithTitle:@"Forms List" style:UIBarButtonItemStyleBordered target:self action:@selector(showMenu:)]; btn_menu
= UIBarButtonItem.alloc.initWithTitle "Forms List", style: UIBarButtonItemStyleBordered, target: self, action: :"showMenu:" Realistic Example Objective-c RubyMotion Thursday, April 25, 13
class PhotoSourceController < UIViewController attr_accessor someProperty def tableView(tableView, cellForRowAtIndexPath:indexPath) end
@interface PhotoSourceController : UIViewController<UITableViewDelegate, UITableViewDataSource> - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath Objective-c RubyMotion PhotoSource.h PhotoSource.m Thursday, April 25, 13
Objective-C RubyMotion Objective-C RubyMotion Migrating Practice RubyMotion Ruby Thursday, April
25, 13
VS Xcode Hell WTF?! +Rake +Bundler +YML +ERB config Thursday,
April 25, 13
Route Controller View Model V ViewController Model View View View
ViewController Web Development Application Development tl;dr: RubyMotion != Web Development RubyMotion == iOS Development Thursday, April 25, 13
Rails Design iOS Design HTML/JS/CSS really, really suck Pixel-perfect layouts
Fuck float: left; Interface Design is a solved problem Pretty-good native UI elements You can do anything, eventually, with math “let the front-end developer do that” “oh god, it’s everywhere” Thursday, April 25, 13
Ben Sheldon
[email protected]
Thursday, April 25, 13