Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
RubyMotion Tech Talk
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Ben Sheldon
April 25, 2013
140
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
RubyMotion Tech Talk
Delivered to OkCupid Labs.
Ben Sheldon
April 25, 2013
More Decks by Ben Sheldon
See All by Ben Sheldon
Performance Starts at Boot
bensheldon
0
77
Accessibility, Performance, Prioritization
bensheldon
0
26
Incident Command
bensheldon
0
34
An ok compromise: Faster development by designing for the Rails Autoloader
bensheldon
1
310
Bridging People and Benefits Systems
bensheldon
0
420
Keeping Users at the Forefront While Scaling Services
bensheldon
0
250
Why Ben ❤️s Vanity for running A/B Tests
bensheldon
0
150
Dashboard Performance Brownbag
bensheldon
0
170
All about Backbone.js
bensheldon
0
120
Featured
See All Featured
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
420
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.3k
Tell your own story through comics
letsgokoyo
1
1.1k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Crafting Experiences
bethany
1
370
Google's AI Overviews - The New Search
badams
0
1.6k
The Invisible Side of Design
smashingmag
301
52k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k
Building Applications with DynamoDB
mza
96
7.2k
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