I have been developing the iPhone for the last 5 months or so and have used Gus Mueller FMDB to interact with the database. My next project will have both a Mac and an iPhone application, and they will share data between them, although in the end the iPhone will be basically a viewer, with some minor editing capabilities.
My question is: will Core Data make my life easy enough on the Mac side, which would be worth writing my data model twice using Core Data on Mac and FMDB on iPhone? Or should I just use FMDB for both so that I can reuse the same code for Mac and iPhone?
I was a little fixated on Core Data, but not so much (mostly just examples from the Hillegas book), so any concrete examples in favor of Core Data would be very helpful. For the record, I really like FMDB, I'm just wondering if Core Data can make my life much easier in this situation.
Edit: I understand the main differences between FMDB and Core Data, I mainly try to find out if the fact that Core Data provides "free" allows me to double-encode my data model.
source
share