Source Code Overview

This page lists an overview of my Cocoa open source code. It has all been written with the iPhone in mind, however some of it may work on the Mac too. You are free to use these in you own projects; both free and commercial.

Please email me to say you’ve used my code; It’ll pretty much make my day if I have kinds words in my inbox to read over breakfast!

DCTFoundation

My additions to the Foundation level of Cocoa.

DCTFoundation on GitHub

DCTUIKit

My additions to UIKit on the iPhone.

DCTUIKit on GitHub

DCTCoreData

A collection of additions to Apple’s Core Data framework, including fetching from the managed object context, automated setup and synchronising of managed objects and keeping an order on related objects.

DCTCoreData on GitHub

Resurrection Kit

A framework to allow your application to return to the same point it exited. Don’t be fooled by multitasking, when your app is eventually purged from memory, it’ll be even more jarring that it doesn’t return to it’s last position.

Resurrection Kit on GitHub

DCTBetterDescription

Trying to gather some decent descriptions for classes which could be better.

DCTBetterDescription on GitHub

DTNibHook

A small class to enable reuse of table view cells created in Interface Builder, using properties (instead of tags – eugh) to access the view hierarchy.

DTNibHook on GitHub

DTGridView

A two-dimensional scrolling view component for iOS. It has a similar API to UITableView, and similarly allows cell reuse.

DTGridView on GitHub

DTMusicModel

A Core Data model for the music library for iOS which allows faster access to the library once imported.

DTMusicModel on GitHub