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
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
87
Accessibility, Performance, Prioritization
bensheldon
0
30
Incident Command
bensheldon
0
48
An ok compromise: Faster development by designing for the Rails Autoloader
bensheldon
1
320
Bridging People and Benefits Systems
bensheldon
0
430
Keeping Users at the Forefront While Scaling Services
bensheldon
0
260
Why Ben ❤️s Vanity for running A/B Tests
bensheldon
0
160
Dashboard Performance Brownbag
bensheldon
0
180
All about Backbone.js
bensheldon
0
120
Featured
See All Featured
Product Roadmaps are Hard
iamctodd
55
13k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.6k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Automating Front-end Workflow
addyosmani
1370
210k
Marketing to machines
jonoalderson
1
6k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
400
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.9k
Building Flexible Design Systems
yeseniaperezcruz
330
41k
Abbi's Birthday
coloredviolet
5
11k
WCS-LA-2024
lcolladotor
0
990
Designing for humans not robots
tammielis
254
26k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
620
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