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
98
RubyMotion Tech Talk
Delivered to OkCupid Labs.
Ben Sheldon
April 25, 2013
Tweet
Share
More Decks by Ben Sheldon
See All by Ben Sheldon
An ok compromise: Faster development by designing for the Rails Autoloader
bensheldon
1
190
Bridging People and Benefits Systems
bensheldon
0
310
Keeping Users at the Forefront While Scaling Services
bensheldon
0
150
Why Ben ❤️s Vanity for running A/B Tests
bensheldon
0
93
Dashboard Performance Brownbag
bensheldon
0
110
All about Backbone.js
bensheldon
0
83
Real World Dashboard
bensheldon
0
190
What does a software engineer actually do?
bensheldon
1
160
Nacis 2012: Nodetiles
bensheldon
0
56
Featured
See All Featured
It's Worth the Effort
3n
184
28k
Making the Leap to Tech Lead
cromwellryan
133
9.2k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
13
810
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
10
770
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Building an army of robots
kneath
305
45k
BBQ
matthewcrist
88
9.6k
GraphQLの誤解/rethinking-graphql
sonatard
71
10k
How to Ace a Technical Interview
jacobian
276
23k
YesSQL, Process and Tooling at Scale
rocio
172
14k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
136
33k
Measuring & Analyzing Core Web Vitals
bluesmoon
7
400
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 sheldon@okcupidlabs.com Thursday, April 25, 13