• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
SQLite Database 2 distinct database iphone.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SQLite Database 2 distinct database iphone.


  • Subject: SQLite Database 2 distinct database iphone.
  • From: Sandro Noël <email@hidden>
  • Date: Sun, 6 Jun 2010 17:40:25 -0400

Greetings.

I'm building a iPhone application which is database driven.
in that application i've designed it to have two databases.
One database will be distributed with the application and is meant to be read only.
the second database is meant to copy items to it for the user's safe keeping.

the reason for this is that the application update will also include a refreshed database
and as such if i only link to the records it might happen that the record that the user
wished to keep would of been purged from the original database.

evidently the structure is quite the same on both, with the exception of some additional fields
in the user database.

when the application starts it complains that it can not merge the two models.
i've been looking on the net but found nothing of significance.

is it possible to have two separate database in the same application on the iphone.
and what are the steps to make it happen.

do i have to duplicate the Core data initialization procedures and maintain 2 distinct managed object contexts?

thank you for any pointers.
Best regards.
Sandro Noel._______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: SQLite Database 2 distinct database iphone.
      • From: Greg Reichow <email@hidden>
  • Prev by Date: Re: registering dragged types
  • Next by Date: Re: Cross XIB references?
  • Previous by thread: Ignore last problem...
  • Next by thread: Re: SQLite Database 2 distinct database iphone.
  • Index(es):
    • Date
    • Thread