Make beautiful apps with beautiful code: use the elegant and concise Ruby programming language with RubyMotion to write truly native iOS apps with less code while having more fun. You'll learn the essentials of creating great apps, and by the end of this book, you'll have built a fully functional API-driven app. Whether you're a newcomer looking for an alternative to Objective-C or a hardened Rails veteran, RubyMotion allows you to create gorgeous apps with no compromise in performance or developer happiness.
Developers interested in native iOS app development have been restricted to the limits of Objective-C and Xcode--until RubyMotion came along. RubyMotion enables you do full iOS development using Ruby. You have access to familiar tools such as Rake and RubyGems and can compile Ruby code into native applications. RubyMotion even comes with a Ruby console useful for live coding and interactive debugging. And since RubyMotion is built on top of the Objective-C runtime, you can use all of Apple's libraries and most third-party code alongside Ruby classes.
This book takes you from zero knowledge of iOS development to building an app that displays information about colors using a web service API. You'll work through each topic with a small example app that covers just enough to get you familiar with the techniques you need to get real work done.
You'll start with just drawing boxes on the screen, but you'll quickly add animations, a navigation stack, and high-performance table views. You'll peek into less visible components, such as using Ruby metaprogramming to create JSON-based models. You'll use some incredibly useful common Ruby techniques that are only possible in RubyMotion, such as writing automated unit tests with an RSpec-like framework.
Using both Apple's existing libraries and fresh, community-driven RubyMotion projects, you'll be well on your way to writing real-world apps.
What You Need:
A Macintosh running OS X 10.7 or later is required to install RubyMotion. RubyMotion is a commercial product and currently requires a purchased license. Experience with the Ruby language and Ruby tools like RubyGems and Rake are suggested.
Learning ActionScript 2.0 for Macromedia Flash 8
Powerful development and design tools require thorough and authoritative technical advice and documentation. When it comes to Macromedia Flash, no one is more authoritative than Macromedia Development and writing teams. Now their official documentation is available to you in printed book form. As you work, keep this guide by...
Building Levels in Unity
Create exciting 3D game worlds with Unity
About This Book
Craft game environments with extreme clarity by adding realism to characters, objects, and props
Import and set up custom assets such as meshes, textures, and normal maps in Unity
A step-by-step guide written in a...
Fearless Drawing: Illustrated Adventures for Overcoming Artistic Adversity
Fearless Drawing is a fun and beautiful exercise and adventure book exploring how to rediscover the joy of drawing. There is a terrific fear attached to drawing, a frozen panic, a cry of "I can't draw!" Yet, embarking on these exciting drawing adventures will re-ignite the profound joy and artistic passion of drawing....
Photoshop Elements 5 For Dummies (Computer/Tech) Packed with tips and tricks for creating dazzling images
Explore layers, change backgrounds, fix flaws, and artistically enhance photos
Photoshop Elements 5 is a powerhouse, and here's the fast and easy way to get up to speed on all the coolest features. Whether you're new to digital...
Trees, Crops and Soil Fertility: Concepts and Research Methods Soil science benefits from the availability of a wide array of practicable
methods. There are a number of very useful compendia in which sets of
these methods are collected together to provide easy reference for the
intending practitioner. The need for yet another handbook might
therefore be questioned. This book, however,...