- Edit the chapters in
_posts
- Code sources are in each chapter's folder
- Use Jekyll to preview your changes
bundle install
sudo easy_install Pygments
(used for syntax highlighting)
RubyMotion-Tutorial
Home Page: http://rubymotion-tutorial.com
_posts
bundle install
sudo easy_install Pygments
(used for syntax highlighting)Hi @clayallsopp,
I don't see any licenses, is this tutorial available for translation? I would like to translate it into Chinese.
Thanks.
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
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.
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.
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
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.