Code Monkey home page Code Monkey logo

rubymotion-tutorial's Introduction

RubyMotion-Tutorial

Forking

  • Edit the chapters in _posts
  • Code sources are in each chapter's folder
  • Use Jekyll to preview your changes

Installation

  1. bundle install
  2. sudo easy_install Pygments (used for syntax highlighting)

rubymotion-tutorial's People

Contributors

3100 avatar apaleslimghost avatar arjen avatar basharabdullah avatar clayallsopp avatar cmckni3 avatar davidrupp avatar iandundas avatar ideamonk avatar isc avatar jmazzi avatar joelclermont avatar padi avatar perryh avatar soma avatar stevenspiel avatar tbloncar avatar voke avatar zachlatta avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rubymotion-tutorial's Issues

License

Hi @clayallsopp,

I don't see any licenses, is this tutorial available for translation? I would like to translate it into Chinese.

Thanks.

Named Parameters in Ruby 2.0

Howdy,

I was thinking it might be confusing to people who are picking up ruby now, or just familiar with it, to still say that Ruby does not have named parameters.

https://github.com/clayallsopp/rubymotion-tutorial/blob/master/1-hello-motion/index.html#L189

I am myself a n00b (got it today) in the world of RubyMotion; so I'm not quite sure what would be better copy/wording (if I get to that point soon I'd be happy to make a pull request with an alternative) or perhaps it's just not necessary anymore.

I'm sure this is a low priority, I just wanted to let you know ๐Ÿ‘

Best,
Seve

Can't get test to pass in chapter 8.

I'm at the end of chapter 8 but cant get my tests to pass.

Heres my repo at current state where it fails.

Output from my rake spec

     Build ./build/iPhoneSimulator-7.1-Development
   Compile ./app/controllers/ButtonController.rb
   Compile ./app/app_delegate.rb
   Compile ./spec/main_spec.rb
      Link ./build/iPhoneSimulator-7.1-Development/Tests_spec.app/Tests
    Create ./build/iPhoneSimulator-7.1-Development/Tests_spec.app/Info.plist
    Create ./build/iPhoneSimulator-7.1-Development/Tests_spec.dSYM
  Simulate ./build/iPhoneSimulator-7.1-Development/Tests_spec.app
2014-04-14 23:00:27.542 Tests[93179:70b] Cannot find executable for CFBundle 0x8fb6650 </Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/System/Library/AccessibilityBundles/GeoServices.axbundle> (not loaded)
2014-04-14 23:00:27.548 Tests[93179:70b] Cannot find executable for CFBundle 0xb77bd70 </Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/System/Library/AccessibilityBundles/CertUIFramework.axbundle> (not loaded)
Application 'Tests'
  - has one window

button controller
  - changes instance variable when button is tapped [FAILED - nil.==(true) failed]

Bacon::Error: nil.==(true) failed
        spec.rb:700:in `satisfy:': button controller - changes instance variable when button is tapped
        spec.rb:714:in `method_missing:'
        spec.rb:316:in `block in run_spec_block'
        spec.rb:440:in `execute_block'
        spec.rb:316:in `run_spec_block'
        spec.rb:331:in `run'

2 specifications (2 requirements), 1 failures, 0 errors

If I'm doing something wrong I'll be happy if someone point me to the right direction. Else there may be something in the turorial that isn't correct.

Can't reproduce the results from chapter 4

Hi, I have follow the tutorial step by step and I have stopped in chapter 4 because I can't reproduce the UIBarButtonItem and the push button. This top item didn't appear in my simulator.

Is some kind of outdate command that is missing?

My environment:
OSX 10.10, RubyMotion 2.38, Xcode 6.1

screen shot 2014-11-09 at 19 37 22

Subview and Nav overlap ios 7

Hi Clay,

Firstly, really enjoying your tutorials and thank you for putting them up.

You may be updating the tutorials for ios 7 at some point, just thought I'd share what happened with my walk through with the API driven example.

screen shot 2013-11-15 at 14 18 02

As you can see the subview is being displayed behind the nav view.

Through abit of googling I added the following code in the color_controller.rb file to fix the problem.

self.edgesForExtendedLayout = UIRectEdgeNone

Very new to rubymotion so unsure if this is the best way to fix it completely.

Thanks again for the tutorials

"markdown: redcarpet2" should be "markdown: redcarpet" ?

https://github.com/clayallsopp/rubymotion-tutorial/blob/master/_config.yml

markdown: redcarpet2

should be

markdown: redcarpet

or there is an error:

Generating... 
Invalid Markdown Processor: redcarpet2
                    Valid options are [ maruku | rdiscount | kramdown | redcarpet ]
  Conversion error: Jekyll::Converters::Markdown encountered an error converting '_posts/chapters/1900-01-01-0-in-motion.md/#excerpt'.
  Conversion error: Invalid Markdown Processor: redcarpet2
             ERROR: YOUR SITE COULD NOT BE BUILT:
                    ------------------------------------
                    Invalid Markdown Processor: redcarpet2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.