Re: Problem in save and open on Core Data Document Based application
Re: Problem in save and open on Core Data Document Based application
- Subject: Re: Problem in save and open on Core Data Document Based application
- From: Volker in Lists <email@hidden>
- Date: Tue, 10 Mar 2009 11:53:13 +0100
Hi,
the message says that the data model in the file you try to open is
different than the one you have in your app. As far as I can follow
you, both apps use the same file type and the former is always trying
to open the others file. Of ocurse, then it complains about the
different model. Have you tried opening Departments file via
Departments -> File -> Open ? That should work. If not, you have made
changes to your model after saving the document.
On a side note: CoreData should not be learned by the beginner. First,
try to understand the basics, than move slowly, very slowly up to
CoreData, otherwise you'll be lost soon. If you're not content with
the content you find via Apple's developer resources on Core Data,
there is a very good book written by Markus Zarra - available as
preliminary version from Pragmatic Programmers.
Cheers,
Volker
Am 10.03.2009 um 11:39 schrieb haresh vavdiya:
Hello,
I am learning mac development from Aaron Hillegas 3rd
Edition.
i have created two Example "CarLot" and "Departments" based on Core
-Data
document based application.
When i created CarLot example that time it can save and
open
data without writing single line. Then i created Departments example
so it
should also save and open.
But second example save successfully but when open, it
gives
error. But in dock panel, CarLot apps is launched. i can open this
apps from
dock. But i wanted to save and open Departments example.
I can't understand that i saved apps from Deparetment and
it
launch CarLot example in dock. Is there in problem....what is the
problem......i m trying from long time.
And the message is "The document “DeptTest” could not be
opened. The model configuration used to open the store is
incompatible with
the one that was used to create the store."
Please anyone help to figure out this problem.
Thanks,
Haresh.
_______________________________________________
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
_______________________________________________
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