AARON SMITH’S CODE ENDEAVOR

Archive for the 'GDKit' Category

GDKit: A Cocoa Framework

As I’ve been writing Gity, I’ve been extracting pieces from it for a Cocoa app framework. It ended up being really nice. It’s kind of an equivalent Guttershark framework, but kind of not.

It’s pretty early right now, so there aren’t many utilities, or those types of general classes. But what is in here - and this is the good stuff - is the core for writing Cocoa apps, keeping them simple, logical, and organized. I’ve simplified and provided a pattern for writing maintainable cocoa apps, as well as a pattern for making your app Grand Central Dispatch friendly (see the docs for GDOperationsController).

It will compile for 10.5+ in XCode 3+. I haven’t tested all configurations of Mac OS / XCode, but there shouldn’t be anything in it that would cause problems. It’s all memory managed and should fit in fine with garbage collection.

It’s available on the gitweb page. Documentation is here. Examples are included in the repository.

So if you want to see how Gity is built, take a look at the examples in the repo. They only show the bare (really bare) minimum setup but you can probably see how to continue on from there. And make sure you inspect nibs in the example projects.

No comments