Wednesday 29 September 2010

iPhone, why I moved from FMDB to direct Sqlite3

I'm still quite disappointed, FMDB was easy to implement and only a few lines of code to do almost anything. I've even posted some example code on my blog. But when I sat and thought about, I realised I'd wasted two days (in total) trying figure out why sql wasn't working.

There must be some problems in the libraries as the sql was working but failed on simple sql statements.

So today I've decided to use Sqlite3 directly, which has taken me have a day and I have all the previous code replaced and working. Yes, it takes more code and is more difficult to implement.

by JM

No comments:

Post a Comment