RubyMotion (Paperback)
Clay Allsopp
- 出版商: Pragmatic Bookshelf
- 出版日期: 2013-11-05
- 定價: $600
- 售價: 9.5 折 $570
- 語言: 英文
- 頁數: 116
- 裝訂: Paperback
- ISBN: 1937785289
- ISBN-13: 9781937785284
-
相關分類:
Ruby
立即出貨 (庫存 < 3)
買這商品的人也買了...
-
$580$493 -
$580$458 -
$860$731 -
$380$296 -
$680$578 -
$580$522 -
$403USB 開發手冊
-
$400$316 -
$580$458 -
$650$514 -
$540$427 -
$380$300 -
$1,600$1,600 -
$490$441 -
$450$383 -
$301Windows PowerShell實戰指南(第2版)
-
$580$458 -
$620$484 -
$500$395 -
$580$493 -
$580$458 -
$860$731 -
$420$378 -
$420$332 -
$520$468
相關主題
商品描述
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.
商品描述(中文翻譯)
使用優雅且簡潔的Ruby程式語言和RubyMotion,製作出美觀的應用程式:以更少的程式碼寫出真正原生的iOS應用程式,同時享受更多樂趣。您將學習創建優秀應用程式的基本要素,並在本書結束時建立一個完全功能的API驅動應用程式。無論您是尋找Objective-C的替代方案還是經驗豐富的Rails老手,RubyMotion都能讓您創建出精美的應用程式,而不會影響性能或開發者的樂趣。
對於對原生iOS應用程式開發感興趣的開發人員,一直受到Objective-C和Xcode的限制,直到RubyMotion出現。RubyMotion使您能夠使用Ruby進行完整的iOS開發。您可以使用熟悉的工具,如Rake和RubyGems,並將Ruby代碼編譯為原生應用程式。RubyMotion甚至還附帶了一個Ruby控制台,可用於實時編碼和交互式調試。由於RubyMotion是建立在Objective-C運行時之上,您可以在Ruby類別旁邊使用所有Apple的庫和大多數第三方代碼。
本書將從對iOS開發的零知識開始,建立一個使用Web服務API顯示顏色信息的應用程式。您將通過一個小型示例應用程式逐步學習每個主題,該應用程式僅涵蓋足夠的內容,使您熟悉所需的技術以完成實際工作。
您將從在屏幕上繪製方塊開始,但很快就會添加動畫、導航堆棧和高性能表視圖。您還將深入研究一些不太顯眼的組件,例如使用Ruby元編程創建基於JSON的模型。您將使用一些非常有用的常見Ruby技術,這些技術只有在RubyMotion中才有可能,例如使用類似RSpec的框架編寫自動化單元測試。
通過使用Apple現有的庫和新鮮的社區驅動的RubyMotion項目,您將在寫實世界應用程式的道路上取得良好的進展。
所需條件:
需要運行OS X 10.7或更高版本的Macintosh才能安裝RubyMotion。RubyMotion是一個商業產品,目前需要購買許可證。建議具備Ruby語言和Ruby工具(如RubyGems和Rake)的經驗。