One NSWindow handling multiple NSDocument instances

Cocoa’s document architecture envisions that a window should only handle one document. However library-type applications may need one window to handle multiple documents so that the user can easily switch between libraries without restarting the application. Here’s how you can hack AppKit so that a single window handle multiple documents.
HP Spectre One

The Proliferation of Apple Clones: A Conspiracy Theorist’s Perspective

HP, Samsung, and others are cloning Apple’s successful product designs. Is it because they’re simply not creative or is it the result of internal politics and the lack of long-term focus of their respective leaders? Only those in the respective companies boardroom’s inner circle have knowledge of what’s actually happening. But a conspiracy theorist can argue that it’s the result of the legal head’s sweet talks who wants more funding to his department at the expense of the engineering and product design departments.

Bringing Asynchronous Core Data documents to OS X

Core Data now officially supports concurrency and I/O in background threads since OS X 10.7 and iOS 5. In the same release, Apple also brought the document architecture to iOS that leverages this new capability of Core Data. However OS X didn’t get the same level of multicore love. In this post, I’ll show you how to create a multi-core supporting document architecture application for OS X.

How I Prematurely Killed My Second Game

I was in the middle of working on my first iPhone game and was so excited about iOS games, I began having ideas for more games. Then I realized that these won’t make it through the noise and tough competition in the App Store and decided to pivot from making games. Here is the back story how I came to that realization and on what conditions should I return to making games.