• 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: ... loading XML store type into in-memory store...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ... loading XML store type into in-memory store...


  • Subject: Re: ... loading XML store type into in-memory store...
  • From: Peter Sampson <email@hidden>
  • Date: Mon, 10 Apr 2006 19:05:34 -1000

Hi,

I want to load some external data from a server source and load it to a local store. I have control on both ends.

Right now, I am trying to load the keys/values from a property list using setValuesForKeysWithDictionary: (the dataset size is small)

I tried pointing the persistentStoreCooridator to URLWithString:@"http://url";,
but that doesn't work.


Essentially, I'm trying to take the simplest route possible, without having to iterate through values, etc.

Any suggestions?

Thanks.

Cheers,

Peter


On Apr 10, 2006, at 6:54 PM, William Bumgarner wrote:

On Apr 10, 2006, at 8:46 PM, Peter Sampson wrote:
What is the best way to import an XML store type into an in-memory store. Both have the exact same model structure, etc.

Thanks a lot for your help and/or pointing me in the right direction.

Why would you want to? An XML store is inherently an "in-memory" store save for that it knows how to archive itself out to disk (there are some internal differences, but nothing apparent via the API). Once an XML store is loaded, it'll act just like an in- memory store.


b.bum


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: ... loading XML store type into in-memory store...
      • From: William Bumgarner <email@hidden>
References: 
 >... loading XML store type into in-memory store... (From: Peter Sampson <email@hidden>)
 >Re: ... loading XML store type into in-memory store... (From: William Bumgarner <email@hidden>)

  • Prev by Date: Re: Distributed Objects - setting protocol crashing GCC 4.0
  • Next by Date: Re: Cocoa Books
  • Previous by thread: Re: ... loading XML store type into in-memory store...
  • Next by thread: Re: ... loading XML store type into in-memory store...
  • Index(es):
    • Date
    • Thread