Help needed with saving Core Data app data
Help needed with saving Core Data app data
- Subject: Help needed with saving Core Data app data
- From: Yevgeniy Goldberg <email@hidden>
- Date: Fri, 2 Mar 2007 09:33:48 -0600
Greetings!
In my Core Data persistent document based application I have a need
to open an existing data store on application startup as well as to
allow saving any changes to the same original data store
I was able to implement the data loading part by programmatically
establishing a managedObjectContext and passing it to the
setManagedObjectContext method of my document.
The challenge: After some changes have been made and a "Save" option
is selected from the menu, the application prompts the user for a
file name to save the data to. If the original file name is given
then the application prompts to override the original file.
How can I change this behavior and enable my application to save
changes to the original data store without overriding it. I am using
SQlite as my data storage.
Thanks for any help!
Eugene.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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