Re: Can core data save to a remote file?
Re: Can core data save to a remote file?
- Subject: Re: Can core data save to a remote file?
- From: "Kyle Sluder" <email@hidden>
- Date: Fri, 14 Mar 2008 00:48:31 -0400
On Thu, Mar 13, 2008 at 11:38 PM, Adam Gerson <email@hidden> wrote:
> I would like multiple copies of my coredata app to read from and save
> to the same XML file located on a server.
Core Data does not support simultaneous access to a store.
> I see that
> persistentStoreCoordinator just uses an NSURL which is great for
> remote reading because I can pass it an http url. However, Is there a
> good way to establish writableility through the
> persistentStoreCoordinator to a data store located on a remote
> machine?
HTTP doesn't support writing. Besides, Core Data is not a
client/server database solution. It is a persistent object store. If
you want to store the persistent store on a remote server, mount the
filesystem using WebDAV, AFP, SMB, NFS...
--Kyle Sluder
_______________________________________________
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