• 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
Re: Can core data save to a remote file?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Can core data save to a remote file?
      • From: mmalc crawford <email@hidden>
    • Re: Can core data save to a remote file?
      • From: Jens Alfke <email@hidden>
References: 
 >Can core data save to a remote file? (From: "Adam Gerson" <email@hidden>)

  • Prev by Date: How to make a Panel like in Mail?
  • Next by Date: Re: get currently logging in users
  • Previous by thread: Re: Can core data save to a remote file?
  • Next by thread: Re: Can core data save to a remote file?
  • Index(es):
    • Date
    • Thread