Re: ... loading XML store type into in-memory store...
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