The Shape of Everything
A website mostly about Mac stuff, written by Gus Mueller
» Acorn
» Retrobatch
» Twitter
» Micro.blog
» Mastodon
» Instagram
» Github
» Maybe Pizza?
» Archives
» Feed
» Micro feed
June 4, 2008
(This post is from my old, old, super old site. My views have changed over the years, hopefully my writing has improved, and there is now more than a handful of folks reading my site. Enjoy.)

I’ve created a new home for FMDB (my cocoa sqlite wrappers) on google code. It’s a pretty simple, jdbc inspired wrapper around sqlite. You can see how it’s used by looking at fmdb.m.

Keep an eye on the changes and todo file for future updates. In this latest release, I’ve removed the use of NSExceptions, since I hate them (use [db hadError] to check for problems). I’ve also removed the FMDatabaseAdditions, since they all of a sudden seemed to be crashing for me (whoops?). These were the simple query calls like “stringForQuery:” and “intForQuery:”.

If you just want to download the source, copy and paste this in your shell:

svn co http://flycode.googlecode.com/svn/trunk/fmdb fmdb

Or use Versions, new (and very pretty) subversion client for osx.

Patches, comments, and ideas are always welcome.