Category Archives: Cocoa

Interview with Cinder iPhone Developer Patrick Burleson


I recently wrote about BitBQ’s acquisition of LittleSnapper for iPhone, now Cinder, that was originally developed by Realmac software.  Being a very light LittleSnapper user myself, I was interested in who had taken interest in the application and wanted to get to know Patrick just a little better. He agreed to answer [...]

Continue reading...

That’s What She Said Jokes 1.0.1 Now Available


I’d like to first thank everyone who has purchased a copy of That’s What She Said Jokes from the iTunes App Store this week, it’s been a great launch week.  And an even bigger thanks to those who have registered and submitted their own jokes! Version 1.0.1 is now available [...]

Continue reading...

EMKeychain 1.0 Released


EMKeychain is a Cocoa class-wrapper  for viewing and modifying the Mac OS X Keychain. Very simple interface and would be a great addition to any developer’s toolkit.  From ExtendedMac Software: EMKeychain v1.0 is now available. With it comes the following changes: Re-written for Objective-C 2.0 features, like properties. Ability to [...]

Continue reading...

CLAlert Class


If you’ve ever used NSAlert in your Cocoa application and wondered why NSInformationalAlertStyle and NSWarningAlertStyle looked exactly the same when using NSAlert, you’re not the only one.  CLAlert has been released (MIT license) that uses an information bubble for NSInformationalAlertStyle, caution icon (currently NSCriticalAlertStyle) for NSWarningAlertStyle, and a red stop sign for [...]

Continue reading...

NSFileManager Additions


Continuing with providing useful Cocoa snippets, I have posted a few NSFileManager category methods to help easily determine the file size of a single file, directory, or quickly hide a file/directory using the invisibility bit (like using /usr/bin/setfile, ie: setfile -a V somefile). 1 2 3 4 5 @interface NSFileManager [...]

Continue reading...

Add Application to Dock – Cocoa NSApplication Category


The need to quickly add my application to a user’s Dock arose while working on a project for a client a few months back.  I was intrigued by the code (first encounter with NSAppleScript as the big one) and took some time to sit down and refine what I had [...]

Continue reading...

Grand Central Dispatch – Source Posted on MacOSForge


Grand Central Dispatch, introduced in Snow Leopard, brings a C API for effectively managing concurrency in your applications. Apple has now posted the code for the user space implementation online at MacOSForge. The kernel optimizations are linked in the project page, but the API only requires a C compiler supporting [...]

Continue reading...

Quick Tip: Compiling for Tiger on Snow Leopard


Just to save someone 3-5 minutes of time, if you install the 10.4u SDK to target Tiger machines with Xcode 3.2 (Snow Leopard), you will have to change a build setting to get Xcode to compile. In the settings for your target, change the compiler option from “System Default – [...]

Continue reading...

Snow Leopard Review


I thought I would highlight what I found to be the most interesting points from the Snow Leopard Ars Technica review, for those who couldn’t make it through the 23 page review and provide a few thoughts on the OS overall. Read after the break for a list of UI [...]

Continue reading...

Cocoa – Add Application to Dock


Here’s a little snippet of code for placing anything (or your application) in a user’s Dock. Wrote it for a project I’m working on which prompts the user on first launch to place in Dock for them. I know many people disagree with this (as do I), but it’s what [...]

Continue reading...