My understanding is that sqllite is pretty much the only choice for database on the iphone. Is there an O/R Mapper for it?
+2
A:
If you're looking for object persistence, Core Data is the obvious way to go.
There's also FMDB. There are others, but look at Core Data first.
Terry Wilcox
2009-11-23 22:03:09
FMDB is not an ORM, but it's about all you've got if you have to work with an existing SQLite file/schema rather than letting Core Data handle the schema for you.
Barry Wark
2009-11-23 22:07:25
+1
A:
Although Apple's Core Data framework is not an ORM, it may be what you are looking for. In particular, if what you want is to persist your object model to a database to make it possible to have object graphs that are larger than available memory or to make querying efficient, Core Data is a good solution. If, on the other hand, you are trying to find an ORM to work with an existing SQLite database, you're out of luck.
Barry Wark
2009-11-23 22:06:38