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
81
Accessibility, Performance, Prioritization
bensheldon
0
26
Incident Command
bensheldon
0
41
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
Balancing Empowerment & Direction
lara
6
1.3k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
33
5.3k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
430
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
120
120k
Large-scale JavaScript Application Architecture
addyosmani
516
110k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
580
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
3.5k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
560
Chasing Engaging Ingredients in Design
codingconduct
0
370
Paper Plane (Part 1)
katiecoart
PRO
2
12k
Docker and Python
trallard
47
4.2k
Build your cross-platform service in a week with App Engine
jlugia
234
19k
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