Ah, sibling rivalry. C++ is one year older than Objective C, and while they have the same parent, C, they're quite different. But, sometimes, you want to harness code written in C++ from your nice and comfy Cocoa-based app. Sure,...
There's a saying in regards to Mac OS X programming, and it's proven useful time and time again. "If it's getting too difficult, stop and back up. You're probably going about it all wrong." And, well, this is another one...
Like a fan-made tribute, I'm trying to copy the look and feel of the finder while improving a few spots. As I mentioned before, I want the darkened icons for drag destinations has. On the Cocoa side, iconForFile: and iconForFileType:...
NSTableView and its related classes are probably a few of the most abused in the Cocoa API. We make it put icons and text together, feed it strange new NSCells, change its look, subclass it beyond recognition, and call it...
Normally, I'd package this more than just a slug of code, but this is too cool to delay and delay, editing and whatnot. In the Finder, when you're dragging files from one window to another, after a while, the dragged-to...
My desktop machine is an upgraded, yet still old Blue and White G3 mac. For the longest time, I used the tried and true ADB Mouse II, with simple curves and a single button covering the entire top. Currently, however,...
One of the mixed blessings about developing software for the mac is that there's high user interface standards. And, more or less, a push for consistency. This is good in one way. Any good framework will already handle drawing of...
In a long time ago (Has it really been a decade?) in a chip-set far, far away, there lived an operating system. It lacked some advanced things, like memory protection, and preemptive multitasking. But what it lacked in architecture, it...
I must admit, I started writing "You are not their customer" after beginning "How to secure your code." And I haven't exactly made this into securing code. So what do all these bits on breaking into cars mean? On the...
I've been putting off posting some of these thoughts for a long while (longer than this site has been up, really), wanting to make it sound just right. But better is the enemy of good, and the lack of traffic...
If you use an RSS reader, you can subscribe to a feed of all future entries tagged 'Code'. [What is this?]