
- 272 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
MacRuby in Action
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
- 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.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Information
Table of contents
- Copyright
- Brief Table of Contents
- Table of Contents
- Preface
- Acknowledgments
- About this Book
- About the Authors
- About the Cover Illustration
- Part 1. Starting with MacRuby
- Chapter 1. Introducing MacRuby
- Chapter 2. Using Macirb and the Apple development tools
- Chapter 3. Going beyond the basics with Xcode Interface Builder
- Part 2. Take it for a Spin
- Chapter 4. Using the delegate pattern
- Chapter 5. Notifications and implementing the observer pattern
- Chapter 6. Using key-value coding and key-value observing
- Chapter 7. Implementing persistence with Core Data
- Chapter 8. Core Animation basics
- Part 3. MacRuby Extras
- Chapter 9. HotCocoa
- Chapter 10. MacRuby testing
- Chapter 11. MacRuby and the Mac App Store
- Appendix A. Scripting with MacRuby
- Index
- List of Figures
- List of Tables
- List of Listings