Fetching Objects with FMDB and SQLite

A better way is, of course, to write generic, reuseable code. But how do you do that with FMDB and SQLite? How do you make it so the data layer can work with any object? – @brentsimmons