Free Sample
+ Collection

RubyMotion iOS Development Essentials

Abhishek Nalwaya, Akshat Paul

Forget the complexity of developing iOS applications with Objective-C; with this hands-on guide you’ll soon be embracing the logic and versatility of RubyMotion. From installation to development to testing, all the essentials are here.
RRP $26.99
RRP $44.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781849695220
Paperback262 pages

About This Book

  • Get your iOS apps ready faster with RubyMotion
  • Use iOS device capabilities such as GPS, camera, multitouch, and many more in your apps
  • Learn how to test your apps and launch them on the AppStore
  • Use Xcode with RubyMotion and extend your RubyMotion apps with Gems
  • Full of practical examples

Who This Book Is For

Whether you are a novice to iOS development or looking for a simpler alternative to Objective-C; with RubyMotion iOS Development Essentials, you will become a pro at writing great iOS apps

Table of Contents

Chapter 1: Getting Ready for RubyMotion
How can I develop an iOS application?
What is RubyMotion?
Why RubyMotion?
Pop quiz
RubyMotion installation – furnish your environment
Chapter 2: Instant Gratification – Your First Application
Your first application
Folder structure
Some more goodies
Exploring the command line
REPL – the interactive console
Debugger – catch your mistakes!
Chapter 3: Evolution – From Objective-C to RubyMotion
Ruby and Objective-C – a partnership
Interfacing with C and Objective-C
Memory management
Chapter 4: Mastering MVC Paradigm
Model-View-Controller (MVC)
The restaurant application
Connecting to an external API
Search restaurant by city
Picture speaks louder than words
Play time
Chapter 5: User Interface – Cosmetics for Your App
Basic UI elements
Hands-on – add a Restro Application
Chapter 6: Device Capability – Power Unleashed
Camera – smile please!
Location Manager – directions for apps
Gestures – non-verbal communication
Core Data – manage your data
Address Book – manage your contacts
Do it yourself
Chapter 7: Interface Builder and WebView – More Goodies!
Interface Builder
UIWebView – embed web content
Chapter 8: Testing – Let's Fail Gracefully
Unit testing
Functional testing
Device events
Chapter 9: Creating a Game
Let's create a game – Whac-A-Mole
Chapter 10: Getting Ready for the App Store
Generating certificates
Provisioning profile
Setting up the RubyMotion project
Creating bundles for submission
Chapter 11: Extending RubyMotion
RubyMotion gems
CocoaPods – managing Objective-C libraries
What next?

What You Will Learn

  • Install RubyMotion and get a feel for the toolchain
  • Understand the evolution of Rubymotion from Objective-C : compare RubyMotion syntax with the corresponding Objective-C syntax
  • Work with the XCode interface builder and design stunning user interfaces with RubyMotion
  • Augment applications with gems: Use and create gems for RubyMotion
  • Use device capabilities including the camera, geolocation, gestures and address book in your apps
  • Show your web apps right from your iPhone window with WebView
  • Learn to store data offline with Core Data
  • Get your apps ready for the App Store!

In Detail

RubyMotion is a revolutionary toolchain for iOS app development. With RubyMotion, you can quickly develop and test native iOS apps for the iPhone and iPad, combining the expressiveness and simplicity of Ruby with the power of the iOS SDK.

"RubyMotion iOS Development Essentials" is a hands-on guide for developing iOS apps using RubyMotion. With RubyMotion, you can eliminate the complexity and confusion associated with the development of iOS applications using Objective-C.

We’ll begin from scratch. Starting by installing RubyMotion, we’ll build ourselves up to developing an app that uses the various device capabilities iOS has to offer. What’s more, we’ll even learn how to launch your app on the App Store!

We’ll also learn to use iOS SDK classes to create application views. Discover how to use the camera, geolocation, gestures, and other device capabilities to create engaging, interactive apps. We’ll develop stunning user interfaces faster with the XCode interface builder and make web apps by using WebView. We’ll then augment applications with RubyMotion gems, doing more by writing less code and learn how to write test cases for RubyMotion projects. Finally, we’ll understand the app submission process to push your app to Apple’s App Store

With "RubyMotion iOS Development Essentials", we will learn how to create iOS apps with ease. At the end of each chapter we will have a tangible and running app, which utilizes the concepts we have learnt in that chapter.


Read More

Recommended for You