Szczegóły ebooka

RubyMotion iOS Development Essentials. 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

RubyMotion iOS Development Essentials. 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

Abhishek Nalwaya, Akshat Paul

Ebook
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.
  • RubyMotion iOS Development Essentials
    • Table of Contents
    • RubyMotion iOS Development Essentials
    • Credits
    • About the Authors
    • Acknowledgement
    • About the Reviewers
    • www.PacktPub.com
      • Support files, eBooks, discount offers and more
        • Why Subscribe?
        • Free Access for Packt account holders
    • Preface
      • What this book covers
      • What you need for this book
      • Who this book is for
      • Conventions
      • Reader feedback
      • Customer support
        • Downloading the example code
        • Errata
        • Piracy
        • Questions
    • 1. Getting Ready for RubyMotion
      • How can I develop an iOS application?
        • Native apps using Objective-C
        • Mobile web applications
        • Hybrid applications
      • What is RubyMotion?
      • Why RubyMotion?
        • If you are not an Objective-C fan
        • It is not a bridge
        • Managed memory
        • Terminal-based workflow
        • Easy debugging with REPL
        • It is extendable
        • Debugging and testing
      • Pop quiz
      • RubyMotion installation furnish your environment
        • Prerequisites for RubyMotion
        • Installing RubyMotion
        • Update RubyMotion
        • How do we check weve done everything correctly?
        • Pick your own editor you are not forced to use Xcode
        • How to get help
      • FAQs
      • Summary
    • 2. Instant Gratification Your First Application
      • Your first application
      • Folder structure
      • Some more goodies
        • Let's understand the code
      • Exploring the command line
        • Motion command one-stopshop
        • Rake tasks get things done fast
        • Rake file configuring your application
      • REPL the interactive console
      • Debugger catch your mistakes!
        • How to start debugging
          • While testing on a simulator
          • While testing on a device
          • Entering commands before starting
        • Breakpoint
        • Listing breakpoints
        • Moving between the different breakpoints
          • Checking the value of a local variable
          • Checking the value of an instance variable
        • Disable breakpoint
        • Exit debugger
      • Summary
    • 3. Evolution From Objective-C to RubyMotion
      • Ruby and Objective-C a partnership
        • Ruby and Objective-C share the same ancestor
      • Interfacing with C and Objective-C
        • Types
        • Enumerations and constants
        • Functions
        • Structures
        • Pointers
        • Classes
        • Objective-C messages
        • RubyMotion selectors
      • Memory management
      • Summary
    • 4. Mastering MVC Paradigm
      • Model-View-Controller (MVC)
        • Model
        • View
        • Controller
      • The restaurant application
        • Creating a model
        • Writing more code
          • Restaurant controller
          • Restaurant view
      • Connecting to an external API
      • Search restaurant by city
        • What just happened
      • Picture speaks louder than words
      • Play time
      • Summary
    • 5. User Interface Cosmetics for Your App
      • Bars
        • The tab bar
          • Customizing the tab bar
        • The navigation bar
          • Customizing the navigation bar
        • The status bar
      • Basic UI elements
        • Label
        • Textfield
        • Switch button
        • Slider
        • Button
        • Picker view
      • Hands-on add a Restro Application
      • Summary
    • 6. Device Capability Power Unleashed
      • Camera smile please!
        • Camera example
        • Understanding the Camera code
      • Location Manager directions for apps
        • Location Manager example
      • Gestures non-verbal communication
        • Gesture example
        • Do it yourself
      • Core Data manage your data
        • Core Data example
          • Creating an employee
          • Deleting the employee
      • Address Book manage your contacts
      • Do it yourself
        • Task 1 show nearest restaurant
        • Task 2 mark each restaurant on a map with a pin
      • Summary
    • 7. Interface Builder and WebView More Goodies!
      • Interface Builder
        • Let's try the Interface Builder
          • .xib to RubyMotion
      • UIWebView embed web content
      • Summary
    • 8. Testing Let's Fail Gracefully
      • Unit testing
      • Functional testing
      • Device events
        • Rotate device
        • Accelerometer device event
        • Gestures
          • Tap
          • Flick
          • Pinch open
          • Pinch close
          • Drag
          • Rotation
      • Summary
    • 9. Creating a Game
      • Cocos2D
      • Let's create a game Whac-A-Mole
        • Let's start coding!
          • Adding motion to moles
          • Adding touch events to the game
          • Adding scores
          • Games without any sounds are boring let's add some sound
      • Summary
    • 10. Getting Ready for the App Store
      • Generating certificates
        • Do it yourself
      • Provisioning profile
        • App ID
        • Adding devices
        • Developer Provisioning Profile
        • Do it yourself
      • Setting up the RubyMotion project
        • Entitlements
        • Info.plist settings
        • Building icons
        • Configuring your application
        • Installing on a device
        • iTunes Connect
      • Creating bundles for submission
      • Summary
    • 11. Extending RubyMotion
      • RubyMotion gems
        • Teacup say goodbye to Xcode and XIB files!
        • BubbleWrap making Cocoa APIs more Ruby-like
        • motion-addressbook access phonebook easily
      • CocoaPods managing Objective-C libraries
        • Installing CocoaPods with RubyMotion
      • Summary
      • What next?
    • Index
  • Tytuł: RubyMotion iOS Development Essentials. 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
  • Autor: Abhishek Nalwaya, Akshat Paul
  • Tytuł oryginału: RubyMotion iOS Development Essentials. 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.
  • ISBN: 9781849695237, 9781849695237
  • Data wydania: 2013-07-16
  • Format: Ebook
  • Identyfikator pozycji: e_3c7f
  • Wydawca: Packt Publishing