Downloadable Source Code

The code here is all Objective-C/Cocoa. While no warranty is offered regarding any of this code, I am happy to discuss any aspects of the code via eMail. I also welcome constructive feedback regarding improvements, feature suggestions, bug fixes, etc. Please read this important note about unpacking .zip files for a successful outcome.


More Info
Download Now
Xcode project, 104K

Multiple-criteria search query and user-interface to edit it. This provides a "smart playlist" type of interface and rule-based query feature similar to iTunes, etc.


More Info
Download Now
Source files, 4K

GCZoomView - a simple NSView subclass that provides a comprehensive set of zooming features for any general-purpose application.


More Info

Current version: 1.1.1 (7 May 2007)
Download Demo and Developer SDK
(Universal Binary framework + headers + compiled demo application, 3MB .dmg)

GCGradient has been significantly enhanced and rolled into a framework that includes a complete user interface for creating, editing and sharing gradients.

Please visit http://gradientpanel.com for full details.

The new code fully supercedes the version that was hosted here, which is no longer supported and has been removed. The extended version of GCGradient is fully backward compatible.


GCDrawKit Main Page

GCDrawKit - a complete vector drawing framework.

Now available for public beta testing. Download the source code and Demo/Test app now.

More Info

Download Now

Xcode project, 48K

GCWindowMenu - a simple solution to turning any view into a pop-up menu. Includes example code to show use with a standard NSSlider .

LED Spectrum Analyser

Now Open Source!

Download Source (204K)

LED Spectrum Analyser is a visualizer for iTunes that has been quite a popular download over the last three years. Now you can look at its code, warts and all. It's written in C++ and uses Carbon.

GCMathParser

More Info

Download Now

Xcode project, 48K

Here's a handy class for applications needing a way to deal with mathematical expressions input by the user. It accepts an NSString consisting of a well-formed mathematical expression, evaluates it, and returns the result. It supports arbitrary named variables, so it is also perfect for graph plotting applications.

GCContourPlotter

More Info

Download Now

Xcode project, 40K

This is an implementation of CONREC with additional code to efficiently convert to NSBezierPaths. If you have a need to plot contours in your Cocoa applicaiton, this may well be what you are looking for.

GCPaletteView

More Info

Download Now

Xcode project, 104K

Classes for implementing a general purpose dockable palettes scheme for applications needing to display and manage a number of inspectors or other floating control panels.

The content of the panels is entirely up to you.

MacZoop 2.6.1

Download Now

Zip Archive, 2.8 MB

As the Maczoop.com domain has now expired, I am hosting the last published version here as an archive. Do NOT use MacZoop for new projects - it is no longer developed or actively supported.

May provide some useful C++ code snippets and Carbon techniques, otherwise for curiosity/historical interest only. Download includes all documentation that existed including the original manual. Codewarrior project files included but NOT Xcode. MacZoop should be usable with Xcode but this has never been done by me. Feel free to give it a go but you're on your own.

DKRouteFinder

More Info

Source code, 10K

DKRouteFinder is a straightforward Cocoa class that encapsulates a practical solution to the Travelling Salesman Problem - efficiently finding an optimal route among a set of arbitrarily distributed objects.

GCFolderBrowser

More Info

Download Now

Xcode project, 60K

GCFolderBrowser is a very easy to use controller class that manages an NSOutlineView to display and navigate any part of the folder hierarchy on disk without using a modal NSOpenPanel.

GCUndoManager

More Info

Github Repository

Xcode project, 60K

A better undo manager. GCUndoManager is a drop-in replacement for NSUndoManager that supports task coalescing, fixes a number of NSUndoManager bugs, and is far less finicky. Best of all, you have the source right there to help debug your app's undo functions.

All source code available here is licensed under the Creative Commons Attribution/Share-alike license. Click the link below to view the license. In simple terms, it means do what you like with it, but give credit where it's due. Thanks!

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.