MacRuby: The Definitive Guide


Book Description

This in-depth guide shows users how this Apple implementation of the Ruby language provides access to all of the features available to Objective-C programmers. Readers will get clear, detailed explanations of MacRuby, including quick programming techniques such as prototyping classes.




MacRuby in Action


Book Description

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




Learn Cocoa on the Mac


Book Description

The Cocoa frameworks are some of the most powerful for creating native OS X apps available today. However, for a first-time Mac developer, just firing up Xcode 4 and starting to browse the documentation can be a daunting and frustrating task. The Objective-C class reference documentation alone would fill thousands of printed pages, not to mention all the other tutorials and guides included with Xcode. Where do you start? Which classes are you going to need to use? How do you use Xcode and the rest of the tools? Learn Cocoa for the Mac, Second Edition, completely revised for OS X Mountain Lion and XCode 4, answers these questions and more, helping you find your way through the jungle of classes, tools, and new concepts so that you can get started on the next great OS X app today. Jack Nutting and Peter Clark are your guides through this forest; Jack and Peter have lived here for years, and will show you which boulder to push, which vine to chop, and which stream to float across in order to make it through. You will learn not only how to use the components of this rich framework, but also which of them fit together, and why. Jack Nutting’s approach, combining pragmatic problem-solving with a deep respect for the underlying design philosophies contained within Cocoa, stems from years of experience using these frameworks. Peter Clark will show you which parts of your app require you to jump in and code a solution, and which parts are best served by letting Cocoa take you where it wants you to go. The path over what looks like a mountain of components and APIs has never been more thoroughly prepared for your travels. In each chapter, you’ll build an app that explores one or more areas of the Cocoa landscape. With Jack’s and Peter's guidance, the steep learning curve becomes a pleasurable adventure. There is still much work for the uninitiated, but by the time you’re done, you will be well on your way to becoming a Cocoa master.




Learn Cocoa on the Mac


Book Description

The Cocoa frameworks are some of the most powerful frameworks for creating native desktop applications available on any platform today, and Apple gives them away, along with the Xcode development environment, for free! However, for a first-time Mac developer, just firing up Xcode and starting to browse the documentation can be a daunting task. The Objective-C class reference documentation alone would fill thousands of printed pages, not to mention all the other tutorials and guides included with Xcode. Where do you start? Which classes are you going to need to use? How do you use Xcode and the rest of the tools? This book answers these questions and more, helping you find your way through the jungle of classes, tools, and new concepts so that you can get started on the next great Mac OS X application today. Jack Nutting is your guide through this forest; he's lived here for years, and he'll show you which boulder to push, which vine to chop, and which stream to float across in order to make it through. You will learn not only how to use the components of this rich framework, but also which of them fit together, and why. Jack Nutting's approach, combining pragmatic problem-solving with a deep respect for the underlying design philosophies contained within Cocoa, stems from years of experience using these frameworks. He'll show you which parts of your application require you to jump in and code a solution, and which parts are best served by letting Cocoa take you where it wants you to go. The path over what looks like a mountain of components and APIs has never been more thoroughly prepared for your travels. With Jack's guidance, the steep learning curve becomes a pleasurable adventure. There is still much work for the uninitiated, but by the time you're done, you will be well on your way to becoming a Cocoa master.




Beginning Mac OS X Snow Leopard Programming


Book Description

A solid introduction to programming on the Mac OS X Snow Leopard platform The Mac OS X Snow Leopard system comes with everything you need in its complete set of development tools and resources. However, finding where to begin can be challenging. This book serves as an ideal starting point for programming on the Mac OS X Snow Leopard platform. Step-by-step instructions walk you through the details of each featured example so that you can type them out, run them, and even figure out how to debug them when they don't work right. Taking into account that there is usually more than one way to do something when programming, the authors encourage you to experiment with a variety of solutions. This approach enables you to efficiently start writing programs in Mac OS X Snow Leopard using myriad languages and put those languages together in order to create seamless applications. Coverage Includes: The Mac OS X Environment Developer Tools Xcode Interface Builder The C Language The Objective-C Language An Introduction to Cocoa Document-Based Cocoa Applications Core Data–Based Cocoa Applications An Overview of Scripting Languages The Bash Shell AppleScript and AppleScriptObjC Javascript, Dashboard, and Dashcode Note: CD-ROM/DVD and other supplementary materials are not included as part of eBook file.




Beginning Ruby


Book Description

Based on the bestselling first edition, Beginning Ruby: From Novice to Professional, Second Edition is the leading guide for every type of reader who wants to learn Ruby from the ground up. The new edition of this book provides the same excellent introduction to Ruby as the first edition plus updates for the newest version of Ruby, including the addition of the Sinatra and Ramaze web application frameworks and a chapter on GUI development so developers can take advantage of these new trends. Beginning Ruby starts by explaining the principles behind object-oriented programming and within a few chapters builds toward creating a full Ruby application. By the end of the book, in addition to in-depth knowledge of Ruby, you'll also have basic understanding of many ancillary technologies such as SQL, XML, web frameworks, and networking. Introduces readers to the Ruby programming language Takes readers from basic programming skills to web development with topics like Ruby-based frameworks and GUI programming Covers many ancillary technologies in order to provide a broader picture (e.g., databases, XML, network daemons)




Cucumber Recipes


Book Description

You can test just about anything with Cucumber. We certainly have, and in Cucumber Recipes we'll show you how to apply our hard-won field experience to your own projects. Once you've mastered the basics, this book will show you how to get the most out of Cucumber--from specific situations to advanced test-writing advice. With over forty practical recipes, you'll test desktop, web, mobile, and server applications across a variety of platforms. This book gives you tools that you can use today to automate any system that you encounter, and do it well. The Cucumber Book showed you how your team can work together to write executable specifications--documents that tell a clear story and also happen to be working test code. We'll arm you with ready-rolled solutions to real-world problems: your tests will run faster, read more clearly, and work in any environment. Our first tips will help you fit Cucumber into your workflow. Powerful filters will tame tables full of test data, transforming them into the format your application needs. Custom output formatters will generate reports for any occasion. Continuous Integration servers will run your Cucumber tests every time the code changes. Next, you'll find recipes tailored to the platform you're running on. Ever wanted to know how to test a Grails app from Cucumber? Need to put a Windows program through its paces? How about a mobile app running on Android or iOS? We'll show you how to do all of these. Throughout the book, you'll see how to make Cucumber sing as you interoperate with different platforms, languages, and environments. From embedded circuits to Python and PHP web apps, Cucumber has something for you. What You Need: You'll need basic working knowledge of Cucumber and Ruby. Individual recipes may have additional requirements; for example, a recipe on Windows automation might pull in an open source GUI driver. We've written the recipes for compatibility with Ruby 1.9.3 and 1.8.7, plus Cucumber 1.1.4. Other versions may work as well, but these are the ones we test with.




iPhone and Mac Wrox e-Book Bundle


Book Description

The books included in this set are: Beginning iPhone SDK Programming with Objective-C (978-0-470-50097-2) This book provides an easy-to-follow, example-driven introduction to the fundamentals of the Apple iPhone SDK and offers you a clear understanding of how things are done when programming iPhone applications with Objective-C. As you progress through the exercises featured in each chapter, you will discover the simple logic behind each step required for creating your own iPhone applications. When you reach the end of the book, you will be prepared to confidently tackle your next iPhone programming challenge. Beginning Mac OS X Snow Leopard Programming (9780470577523) This book serves as a solid guide to getting started with Mac OS X programming. You will learn how to use the free software development tools that come with all Mac OS X systems and how to efficiently start writing programs on Mac OS X Snow Leopard. The author shows you how to use all of the programming languages to use together in order to create seamless applications. Professional Xcode 3 (9780470525227). This book provides you with an inside look at the array of Xcode tools for Mac and iPhone development from top to bottom. You'll go beyond the basics and dive into such in-depth topics as installing the latest version of Xcode tools, customizing the look and behavior of Xcode, creating and managing projects, using the built-in class browser to model complex applications and structures, and more. With this book, you'll be able to take full advantage of the range of tools included with Xcode. Safari and WebKit Development for iPhone OS 3.0 (9780470549667) This book explores the Safari and WebKit development platform that is built into iPhone OS 3.0 and takes you through the process of creating an iPhone web application from the ground up. You'll learn how to use existing open source frameworks to speed up your development time, imitate qualities of built-in Apple apps, cache data locally and even run in offline mode, and more. Whether you're eager to build new web applications for iPhone OS 3.0 or optimize existing web sites for this platform, you have everything you need to do so within this book.




Learn Xcode Tools for Mac OS X and iPhone Development


Book Description

This book will give you a thorough grounding in the principal and supporting tools and technologies that make up the Xcode developer tools suite. Apple has provided a comprehensive collection of developer tools, and this is the first book to examine the complete Apple programming environment for both Mac OS X and iPhone. Comprehensive coverage of all the Xcode developer tools Additional coverage of useful third-party development tools Not just a survey of features, but a serious examination of the complete development process for Mac OS X and iPhone applications




The Secret Life of Mac


Book Description

Inspired by the true story of a kleptomaniac cat who stole his way into America’s heart . . . HE’S THE CAT THIEF OF LOVE MacGyver the tabby is feeling very pleased with himself. His human, Jamie Snyder, has found the perfect packmate—and it’s all thanks to Mac. By stealing personal items from the home of Jamie’s handsome neighbor David, the matchmaking cat brought these two L.A. singles together. Now, while the newlyweds are off on their honeymoon, MacGyver is ready for a well-deserved cat nap. That is, until he meets his cat sitter Briony. Like most humans, she’s hopeless when it comes to romance. And Mac can’t resist a challenge . . . SHE’S FOUND THE ESCAPE CLAWS Briony feels terrible about leaving her fiancé at the altar. When her cousin Jamie offers her the chance to cat sit MacGyver, the runaway bride leaps at the chance to cuddle up with the only male creature she trusts herself around. But MacGyver has other plans. He lures Briony to a friendly neighborhood retirement community—run by a charming young hottie named Nate. Briony and Nate hit it off instantly. But Briony’s still not sure she’s ready for a relationship. And Nate’s got problems of his own—someone is sabotaging his community. Crazy humans. Why can’t they follow their instincts and go after the love they deserve? MacGyver is on the case. And this time, he’s not pussyfooting around . . . RAVES FOR TALK TO THE PAW “Filled with romance and adorable kitty antics . . . a light and cozy read!” —Modern Cat “Surpassingly cute story of a matchmaking cat determined to pair off his human with a neighbor through the power of stinky laundry.” —Kirkus Reviews “Whimsical . . . fans of cozy romances will root for these . . . appealing characters.” —Publishers Weekly