• Complain

Brendan G. Lim - MacRuby in Action

Here you can read online Brendan G. Lim - MacRuby in Action full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2012, publisher: Manning Publications, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Brendan G. Lim MacRuby in Action

MacRuby in Action: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "MacRuby in Action" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

For developers who have learned the elegant and highly productive Ruby language, it can be a real drag to switch back to a traditional static programming tool like Objective-C. MacRuby, a Ruby 1.9 implementation that sits directly on the Mac OS X core, gives Rubyists the potential to code Cocoa apps without sacrificing the language features theyve come to depend on.
MacRuby In Action is a tutorial for Ruby developers who want to code for OS X without learning Objective-C. Readers will learn the ins and outs of the MacRuby language, including straightforward examples of creating OS X applications using Cocoa components. The core of the book is an example-driven tour of the Cocoa framework from the Ruby perspective that focuses on getting things done.

Brendan G. Lim: author's other books


Who wrote MacRuby in Action? Find out the surname, the name of the author of the book and a list of all author's works by series.

MacRuby in Action — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "MacRuby in Action" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
MacRuby in Action
Brendan G. Lim with Jerry Cheung and Jeremy McAnally

MacRuby in Action - image 1

Copyright

For online information and ordering of this and other Manning books, please visit www.manning.com. The publisher offers discounts on this book when ordered in quantity. For more information, please contact

Special Sales DepartmentManning Publications Co.20 Baldwin RoadPO Box 261Shelter Island, NY 11964Email: orders@manning.com

2012 by Manning Publications Co. All rights reserved.

No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by means electronic, mechanical, photocopying, or otherwise, without prior written permission of the publisher.

Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in the book, and Manning Publications was aware of a trademark claim, the designations have been printed in initial caps or all caps.

Picture 2 Recognizing the importance of preserving what has been written, it is Mannings policy to have the books we publish printed on acid-free paper, and we exert our best efforts to that end. Recognizing also our responsibility to conserve the resources of our planet, Manning books are printed on paper that is at least 15 percent recycled and processed without elemental chlorine.

Picture 3Manning Publications Co.20 Baldwin RoadPO Box 261Shelter Island, NY 11964Development editor: Sara OnstineTechnical proofreader: Nick HowardCopyeditors: Lianna Wlasiuk, Tiffany TaylorProofreader: Melody DolabTypesetter: Marija TudorCover designer: Marija Tudor

Printed in the United States of America

1 2 3 4 5 6 7 8 9 10 MAL 18 17 16 15 14 13 12

Brief Table of Contents
Table of Contents
Preface

When I was first learning Ruby, I immediately fell in love with the language. I knew early on that I wanted to work with Ruby professionally, which became possible later when I created my first startup using Ruby on Rails.

I later worked for a Ruby on Rails consulting company where I spent a few years focusing on Ruby before I headed up the mobile development department. Ive had an interest in mobile development since I was young and it was a very exciting time to work on iOS and Android applications. With iOS development came the need to learn Objective-C, which ultimately led me into the world of Cocoa for Mac development.

I developed a few Mac applications personally and professionally and thought how great it would be if I could write Mac applications using Ruby. Id heard of RubyCocoa, but I knew of its shortcomings. Then I learned about MacRuby: it was the solution Id been waiting for.

When I was contacted by Manning to work on this book, I knew Id be able to reach many other individuals who were Rubyists and who wanted to create rich Mac applications without having to use Objective-C. This book is meant for you if you love the Ruby language and want to get into Mac development

BRENDAN G. LIM

Acknowledgments

Putting together a book like this is no easy feat, and many people behind the scenes worked countless hours to get the book into your hands. First and foremost, everyone at Manning deserves all the thanks we can give them. Without them, we wouldnt have been able to create such a great book for you.

We interacted frequently with a few individuals from Manning and would like to specifically mention them. Wed like to thank Troy Mott, our acquisitions editor, who originally came to us to work on this book and helped us through thick and thin. Sara Onstine, our development editor, guided us through the formalities of writing a book like this. And Marjan Bace, our publisher, always challenged us to find ways to improve the books content and organization.

Wed also like to thank our books production team. Lianna Wlasiuk, Tiffany Taylor, and Melody Dolab, our copyeditors and proofreader, read the entire manuscript and made sure everything was organized and presented properly. Nick Howard, our technical proofreader, caught errors that we didnt know were there.

Over the course of the development of the book, many people generously volunteered to review it to help make it as good as it could be. These reviewers deserve a tremendous amount of credit for the impact they made through their feedback. Our thanks to Pradeep Elankumaran, Brent Collier, Adam Bair, Philip Hallstrom, Mike Stok, Alex Vollmer, Coby Randquist, Jerry Cheung, Greg Vaughn, Warner Onstine, and Daniel Bretoi.

BRENDAN would like to thank his father, Chhorn, his mother, Brenda, and his two brothers, Chhorn and Chhun, for their support and encouragement. He also wants to thank his wife, Edelweiss, for her love and support and for letting him spend night and day working on this book. Last but not least, thanks to Pradeep Elankumaran, who let Brendan spend so much time writing this book after they both quit their jobs to focus on their startup, Kicksend.

JERRY would like to thank his parents, Margaret and Kevin, and his wise-guy brother Randall. Hed also like to remind Wendy that he beat her to her thesis (thanks, love, for letting me win this one). A special shout-out goes to Brendan for getting Jerry interested in MacRuby and Mac development in the first place.

JEREMY would like to thank his wife, friends, and dogs for sustaining him through yet another writing project. Without their support, he would likely end up a raving maniac under an overpass tapping out code examples while throwing cans at passing cars.

About this Book

MacRuby in Action was written to give Rubyists the ability to create rich Cocoa applications for the Mac OS X platform without having to learn Objective-C. Our goal is to have you, the reader, creating amazing Cocoa applications using MacRuby by the end of the book. Throughout the book, youll learn in the ins and outs of MacRuby while exploring the Cocoa framework, design patterns, system scripting, testing, and getting your application into the Mac App Store. We know that sometimes the best way to learn is to get your feet wet. Thats why youll be creating useful Mac applications along the way so you can apply the key topics as you learn them.

Who should read this book

This book is aimed at developers interested in writing software for the Mac platform. It doesnt matter if youre new to both the Mac and the Ruby language or youre an experienced Ruby developer looking to learn how to write Mac apps. If you have the desire to create beautiful Cocoa applications for the Mac platform and want to do so using the elegant and highly productive Ruby language, then this book is for you. If youre new to Ruby, we give you a brief overview of the language so youll feel comfortable enough to take on the rest of the book.

MacRuby in Action is also a more approachable introduction to Cocoa development than traditional Objective-C books. Throughout the book, we explore practical code examples that youll face when creating your own applications. MacRuby in Action can act as a guide for using MacRuby and Cocoa from the ground up, or you can use it as a reference if youre looking to dive deeper into MacRuby.

Roadmap

The book has 11 chapters divided into three parts as follows:

explores the inner workings of MacRuby and how to set up your development environment. Theres also an introduction to Ruby and an overview of Objective-C syntax. We then go into the MacRuby syntax, give a few examples, and end with two Hello World examples.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «MacRuby in Action»

Look at similar books to MacRuby in Action. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «MacRuby in Action»

Discussion, reviews of the book MacRuby in Action and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.