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
120
RubyMotion Tech Talk
Delivered to OkCupid Labs.
Ben Sheldon
April 25, 2013
Tweet
Share
More Decks by Ben Sheldon
See All by Ben Sheldon
Performance Starts at Boot
bensheldon
0
36
Accessibility, Performance, Prioritization
bensheldon
0
7
Incident Command
bensheldon
0
8
An ok compromise: Faster development by designing for the Rails Autoloader
bensheldon
1
240
Bridging People and Benefits Systems
bensheldon
0
360
Keeping Users at the Forefront While Scaling Services
bensheldon
0
190
Why Ben ❤️s Vanity for running A/B Tests
bensheldon
0
120
Dashboard Performance Brownbag
bensheldon
0
140
All about Backbone.js
bensheldon
0
89
Featured
See All Featured
The Spectacular Lies of Maps
axbom
PRO
1
450
Balancing Empowerment & Direction
lara
5
850
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.9k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.7k
A Tale of Four Properties
chriscoyier
162
24k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Test your architecture with Archunit
thirion
1
2.1k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
910
Designing Experiences People Love
moore
144
24k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
140
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
100
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
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