I motion
Upcoming SlideShare
Loading in...5
×
 

I motion

on

  • 414 views

RubyMotion slides from ScottishRuby conf

RubyMotion slides from ScottishRuby conf

Statistics

Views

Total Views
414
Views on SlideShare
413
Embed Views
1

Actions

Likes
0
Downloads
3
Comments
0

1 Embed 1

https://twitter.com 1

Accessibility

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

I motion I motion Presentation Transcript

  • im ti nfernandgalianaFriday, May 17, 13
  • Born and raised inCrieff!Friday, May 17, 13
  • Friday, May 17, 13
  • kitesurferderailedgithub.com/derailedfernand.galianaFriday, May 17, 13
  • Friday, May 17, 13
  • ObjCIOS SDKXcodeMemoryFriday, May 17, 13
  • Friday, May 17, 13
  • Friday, May 17, 13
  • Friday, May 17, 13
  • blownspeaker!Friday, May 17, 13
  • railsBROIOSIOSIOSDbFbFriday, May 17, 13
  • bigdeal?Not even Ruby!Still need to learn IOSCan’t use my xxx gem ;-(Write once, run onceFriday, May 17, 13
  • Friday, May 17, 13
  • Friday, May 17, 13
  • Friday, May 17, 13
  • Friday, May 17, 13
  • cocoapodsapp.pods dopod AFNetworkingendRakefileFriday, May 17, 13
  • NSUserDefaults *prefs = [NSUserDefaults standardUserDefaults];NSString *myString = [prefs stringForKey:@"bumbleblee_tuna"];Friday, May 17, 13
  • NSUserDefaults *prefs = [NSUserDefaults standardUserDefaults];NSString *myString = [prefs stringForKey:@"bumbleblee_tuna"];Friday, May 17, 13
  • NSUserDefaults.standardUserDefaults.objectForKey("bumblebee_tuna")NSUserDefaults *prefs = [NSUserDefaults standardUserDefaults];NSString *myString = [prefs stringForKey:@"bumbleblee_tuna"];Friday, May 17, 13
  • NSUserDefaults.standardUserDefaults.objectForKey("bumblebee_tuna")NSUserDefaults *prefs = [NSUserDefaults standardUserDefaults];NSString *myString = [prefs stringForKey:@"bumbleblee_tuna"];Friday, May 17, 13
  • NSUserDefaults.standardUserDefaults.objectForKey("bumblebee_tuna")NSUserDefaults *prefs = [NSUserDefaults standardUserDefaults];NSString *myString = [prefs stringForKey:@"bumbleblee_tuna"];App.user_cache[:bumblebee_tuna]Friday, May 17, 13
  • NSUserDefaults.standardUserDefaults.objectForKey("bumblebee_tuna")NSUserDefaults *prefs = [NSUserDefaults standardUserDefaults];NSString *myString = [prefs stringForKey:@"bumbleblee_tuna"];App.user_cache[:bumblebee_tuna]bubble-wrappedFriday, May 17, 13
  • NSUserDefaults.standardUserDefaults.objectForKey("bumblebee_tuna")NSUserDefaults *prefs =[NSUserDefaults standardUserDefaults];NSString *myString =[prefs stringForKey:@"bumbleblee_tuna"];App.user_cache[:bumblebee_tuna]bubble-wrappedFriday, May 17, 13
  • Friday, May 17, 13
  • UIColor.colorWithRed( 50/255.0,green:50/255.0,blue:50/255.0,alpha:0.5 )0x5b5b5b.uicolorFriday, May 17, 13
  • UIColor.colorWithRed( 50/255.0,green:50/255.0,blue:50/255.0,alpha:0.5 )0x5b5b5b.uicolorsugarcubedFriday, May 17, 13
  • ✓Rails integration✓Collections✓Third party services✓Autolayout✓Web views✓Social connect✓Pods✓RM Gems✓CustomViews✓Custom Alerts✓Notifications✓Styling✓GesturesFriday, May 17, 13
  • localwebdef viewDidLoadsuper@content = UIWebView.alloc.initWithFrame( [[0,0],[300,300]] )@content.loadHTMLString( html, baseURL:base_url )view.addSubview( @content )enddef base_url@base_url ||= NSURL.fileURLWithPath( App.resources_path )enddef html<<HTML<html><head><link rel="stylesheet" type="text/css" href="css/font-awesome.css"/><link rel="stylesheet" type="text/css" href="css/app.css"/></head>...</html>HTMLendFriday, May 17, 13
  • networkingapp.pods dopod AFNetworkingenddef self.shared$instance ||= beginBlownSpeakerClient.alloc.initWithBaseURL( base_url ).tap do |client|client.registerHTTPOperationClass( AFJSONRequestOperation )client.setDefaultHeader( Accept, value:application/json )endendenddef fetch_proposals(&cb)getPath( "/confs/#{App.delegate.conf_id}.json",parameters: {},success: ->(operation, response) { cb.call response, nil },failure: ->(operation, error) { cb.call nil, error })enddef self.base_url@url ||= beginuri = Device.simulator? ? "http://localhost:3000" : "http://192.168.122:3000"NSURL.URLWithString( uri )endenddef setup( talk )...@mug_shot.setImageWithURL( NSURL.URLWithString( talk.speaker.avatar ),placeHolderImage: place_holder_img )endRakefileFriday, May 17, 13
  • Friday, May 17, 13
  • |[visual]-20-[constraints]|@content.translatesAutoresizingMaskIntoConstraints = falsedef setup_constraintsmetrics = { sp => 5 }contentView.addConstraintsNSLayoutConstraint.constraintsWithVisualFormat"V:|-ps-[mug_shot(100)][scorer(20)][speaker(30)]-ps-",options: 0,metrics: metrics,views: @views ))...endFriday, May 17, 13
  • soopastyling!I don’t usually pimp out my UI’s,but when I do...I use stylesheets!Friday, May 17, 13
  • NUIPixateTeacupPromotionFriday, May 17, 13
  • Friday, May 17, 13
  • testingFriday, May 17, 13
  • appstoreFriday, May 17, 13
  • appstore✓ Distribution profile✓App screenshots x-devices✓Icons (@2x) - rinse and repeat for devices!✓ITune connect✓rake archive:distribution✓Application loaderFriday, May 17, 13
  • arewethereyet?Friday, May 17, 13
  • appstorerealityFriday, May 17, 13
  • Friday, May 17, 13
  • pimpitdogg!Friday, May 17, 13
  • motionblowFriday, May 17, 13
  • Friday, May 17, 13
  • questions?Friday, May 17, 13