MacRuby in Action
eBook - ePub

MacRuby in Action

  1. 272 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

About this book

Summary MacRuby in Action is a tutorial for Ruby developers who want to code for Mac OS X without learning Objective-C. You'll learn the ins and outs of the MacRuby language, including straightforward examples of creating OS X applications using Cocoa components.
About the Technology
For Rubyists, it's a real drag switching to a static language like Objective-C for Mac development. Fortunately, you don't have to. MacRuby is a Ruby 1.9 implementation that sits right on the Mac OS X core. It gives you access to the Cocoa framework and easy interoperability with the Mac platform.
About the Book
MacRuby in Action teaches Ruby developers how to code OS X applications in Ruby. You'll explore key Cocoa design patterns, along with a few twists that MacRuby makes possible. You'll also pick up high-value techniques including system scripting, automated testing practices, and getting your apps ready for the Mac App Store.Written for Rubyists. No experience with Cocoa, Objective-C, or Mac OS X required. Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book.
What's Inside

  • Intro to Mac OS X development
  • Full coverage of the Cocoa framework
  • MacRuby for iOS

Table of Contents


PART 1 STARTING WITH MACRUBY

  • Introducing MacRuby
  • Using Macirb and the Apple development tools
  • Going beyond the basics with Xcode Interface Builder
  • PART 2 TAKE IT FOR A SPIN
  • Using the delegate pattern
  • Notifications and implementing the observer pattern
  • Using key-value coding and key-value observing
  • Implementing persistence with Core Data
  • Core Animation basics
  • PART 3 MACRUBY EXTRAS
  • HotCocoa
  • MacRuby testing
  • MacRuby and the Mac App Store

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access MacRuby in Action by Jerry Cheung,Brendan Lim,Jeremy McAnally in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming. We have over one million books available in our catalogue for you to explore.

Information

Table of contents

  1. Copyright
  2. Brief Table of Contents
  3. Table of Contents
  4. Preface
  5. Acknowledgments
  6. About this Book
  7. About the Authors
  8. About the Cover Illustration
  9. Part 1. Starting with MacRuby
  10. Chapter 1. Introducing MacRuby
  11. Chapter 2. Using Macirb and the Apple development tools
  12. Chapter 3. Going beyond the basics with Xcode Interface Builder
  13. Part 2. Take it for a Spin
  14. Chapter 4. Using the delegate pattern
  15. Chapter 5. Notifications and implementing the observer pattern
  16. Chapter 6. Using key-value coding and key-value observing
  17. Chapter 7. Implementing persistence with Core Data
  18. Chapter 8. Core Animation basics
  19. Part 3. MacRuby Extras
  20. Chapter 9. HotCocoa
  21. Chapter 10. MacRuby testing
  22. Chapter 11. MacRuby and the Mac App Store
  23. Appendix A. Scripting with MacRuby
  24. Index
  25. List of Figures
  26. List of Tables
  27. List of Listings