views:

1922

answers:

3

The FMDB page just offers the cvs checkout. Maybe someone out there wrote a good tutorial on how to use FMDB with sqlite3 on the iphone?

+4  A: 

The source is the documentation, apparently.

The question, though, is why aren't you using Core Data?

Gus effectively compiled FMDB for the iPhone because Core Data wasn't available. Now that it is (as of 3.0), the need for FMDB is diminished.

bbum
HelloMoon
It's not laziness that's driving many people to Core Data. There are significant performance benefits to be had: http://stackoverflow.com/questions/1263723/cocoa-touch-when-does-an-nsfetchedresultscontroller-become-necessary-to-manage-a/1263845#1263845 . Additionally, it makes things like undo and redo practical. You have to ask yourself: by staying 2.x-only, are you at a disadvantage to your competitors who have adopted 3.0 features?
Brad Larson
40% is not accurate. The figure would be more like 20%, and is declining rapidly - and if your application is good, people will be compelled to move to 3.0 to use it. The simple fact is that most iPhone/Touch owners upgrade pretty rapidly, if they are buying applications - because a large number of application writers take advantage of very real gains in using the new version.
Kendall Helmstetter Gelner
bbum
Maybe you're right about this time to market theory. For me, I think even 10% would be a reason to try to stay compatible with older versions, unless I don't constraint myself too much by that. I'm gonna have to think once more about all this stuff.
HelloMoon
A: 

Any body please show the example

KOKARAT
A: 

The xcode project in the svn repository has a fmdb.m file in it with plenty of usage examples to get you started.

JakeK