The Shape of Everything
A website mostly about Mac stuff, written by August "Gus" Mueller
» Acorn
» Retrobatch
» Mastodon
» Micro.blog
» Instagram
» Github
» Maybe Pizza?
» Archives
» Feed
» Micro feed
February 15, 2012

I just pushed an update to my SQLite wrapper FMDB and have tagged it as version 2.0. Hurray for round numbers!

So what's new?

  • FMDB is Automatic Reference Counting (ARC) friendly now. It'll detect if your project is using ARC or not, and do the right thing with retain and release.

  • There's a new class called FMDatabaseQueue. If you're wanting to use FMDB across multiple threads, then you'll want to use this guy. It's a great block based API that is pretty darn easy to use.

  • You can make custom sqlite functions as well, using blocks. This is awesome if you want to do something like UTTypeConformsTo() at the query level.

  • And finally the addition of named save points with a block based API.